Changeset 8e44e8a62cf3509d1b0ba5dd4d0d24be0f5b4fde

Show
Ignore:
Timestamp:
08/10/08 01:03:44 (3 months ago)
Author:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
git-committer:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1218315824 +0200
git-parent:

[2d2e6d1fb24e5d687eab7e77bf251ad777ca736d]

git-author:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1218315824 +0200
Message:

quakeauth plugin: don't error out when identifying with m == nil

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • data/rbot/plugins/quakeauth.rb

    r619870d r8e44e8a  
    3636      end 
    3737    end 
     38    @source = nil 
    3839  end 
    3940 
     
    4950 
    5051  def identify(m, params) 
    51     @source = m.replyto 
     52    @source = m.replyto if m 
    5253    @registry['quakenet.auth'] = params[:password] if params[:password] 
    5354