From: Giuseppe Bilotta Date: Thu, 10 Aug 2006 13:44:34 +0000 (+0000) Subject: BotUser wants username=, not name= X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=93f55f799384a19d7c036624b0e7886f9d095e02;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git BotUser wants username=, not name= --- diff --git a/ChangeLog b/ChangeLog index 1919ed9b..cba0862e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,10 @@ 2006-08-10 Giuseppe Bilotta - * Bug in new IRC framework: the list of channels a quitting user was + * Fix a bug in new IRC Framework: the list of channels a quitting user was on was not built correctly, causing an exception when the user was not in the first channel in the list of channels. + * Fix a bug in new Auth Framework: BotUser's name is changed via + username=, not name= 2006-08-07 Giuseppe Bilotta 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