summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-10 13:44:34 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-10 13:44:34 +0000
commit93f55f799384a19d7c036624b0e7886f9d095e02 (patch)
tree8324e5b9dcb2f0facdaf59834114e8f7a1c7cfee /lib
parentf13a4901e82fd533815175b95600652ac427d2bd (diff)
BotUser wants username=, not name=
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/botuser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb
index 3363d583..cc9e01a5 100644
--- a/lib/rbot/botuser.rb
+++ b/lib/rbot/botuser.rb
@@ -584,7 +584,7 @@ module Irc
k = n.to_sym
raise "No such BotUser #{n}" unless include?(k)
if @botusers.has_key?(ircuser)
- return true if @botusers[ircuser].name = n
+ return true if @botusers[ircuser].username = n
# TODO
# @botusers[ircuser].logout(ircuser)
end