X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=lib%2Frbot%2Fbotuser.rb;h=41fca6cf9847316cd0d071826a0a5f36b2ee08eb;hb=a72327f672f148f3ef306105c19bd5903fcd3d02;hp=29d7eed54bbd7c93fac3d5d7baab4bbf2aba2fa0;hpb=fc051507843ef3b62d9c5f4eacb809d033390992;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git 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