diff options
Diffstat (limited to 'lib/rbot/botuser.rb')
-rw-r--r-- | lib/rbot/botuser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb index 5cb05f17..a6a3bf4a 100644 --- a/lib/rbot/botuser.rb +++ b/lib/rbot/botuser.rb @@ -316,7 +316,7 @@ module Irc # is right. If it is, the Netmask of the user is added to the
# list of acceptable Netmask unless it's already matched.
def login(user, password)
- if password == @password or (@password.nil? and @login_by_mask and knows?(user))
+ if password == @password or (password.nil? and @login_by_mask and knows?(user))
add_netmask(user) unless knows?(user)
debug "#{user} logged in as #{self.inspect}"
return true
|