]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
BotUser wants username=, not name=
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 10 Aug 2006 13:44:34 +0000 (13:44 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 10 Aug 2006 13:44:34 +0000 (13:44 +0000)
ChangeLog
lib/rbot/botuser.rb

index 1919ed9b464b8e9aee3b783c40a85324e7f5b7cb..cba0862ef039478b664fe62410d3bc3ddc3659b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,10 @@
 2006-08-10  Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
 
-       * 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 <giuseppe.bilotta@gmail.com>
 
index 3363d5835f4dff3faf0fb122a2d265e0c812e104..cc9e01a58f2608b996a436f83f50f2bbece89d56 100644 (file)
@@ -584,7 +584,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].name = n\r
+          return true if @botusers[ircuser].username = n\r
           # TODO\r
           # @botusers[ircuser].logout(ircuser)\r
         end\r