From 93f55f799384a19d7c036624b0e7886f9d095e02 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 10 Aug 2006 13:44:34 +0000 Subject: BotUser wants username=, not name= --- 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 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 -- cgit v1.2.3