diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/irc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb index 852cc6df..129f947e 100644 --- a/lib/rbot/irc.rb +++ b/lib/rbot/irc.rb @@ -1275,7 +1275,7 @@ module Irc # Checks if the receiver already has a user with the given _nick_
#
def has_user?(nick)
- user_nicks.index(nick.irc_downcase(casemap))
+ @users.index(nick.to_irc_user(server_and_casemap))
end
# Returns the user with nick _nick_, if available
|