summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-17 15:06:51 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-17 15:06:51 +0000
commitc6ac3e019866dd3588333e1c068deda47a55d2d4 (patch)
tree8e4f0d53da3df3def4c36a604d19a09ce7114878 /lib
parent9a3f00aa082c0415161c99eb633c6ed41aa71b4e (diff)
Stupid horrible typo in botuser.rb login method
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 29d7eed5..41fca6cf 100644
--- a/lib/rbot/botuser.rb
+++ b/lib/rbot/botuser.rb
@@ -595,7 +595,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].username = n
+ return true if @botusers[ircuser].username == n
# TODO
# @botusers[ircuser].logout(ircuser)
end