From c6ac3e019866dd3588333e1c068deda47a55d2d4 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 17 Aug 2006 15:06:51 +0000 Subject: Stupid horrible typo in botuser.rb login method --- lib/rbot/botuser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3