]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/botuser.rb
Stupid horrible typo in botuser.rb login method
[user/henk/code/ruby/rbot.git] / lib / rbot / botuser.rb
index 29d7eed54bbd7c93fac3d5d7baab4bbf2aba2fa0..41fca6cf9847316cd0d071826a0a5f36b2ee08eb 100644 (file)
@@ -595,7 +595,7 @@ module Irc
         k = n.to_sym\r
         raise "No such BotUser #{n}" unless include?(k)\r
         if @botusers.has_key?(ircuser)\r
-          return true if @botusers[ircuser].username = n\r
+          return true if @botusers[ircuser].username == n\r
           # TODO\r
           # @botusers[ircuser].logout(ircuser)\r
         end\r