]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
message.rb: fix "I'm Stupid(TM)" bug in [1100]
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 22 Sep 2007 13:44:07 +0000 (13:44 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 22 Sep 2007 13:44:07 +0000 (13:44 +0000)
lib/rbot/message.rb

index acfd5da3fc742cf081d7bdebe5c9f235fba658d8..9881503c3f10a074a7f8ff0aff4ae988dadbe69b 100644 (file)
@@ -174,7 +174,7 @@ module Irc
     # Access the botuser corresponding to the source, if any
     #
     def botuser
-      m.source.botuser rescue @bot.auth.everyone
+      source.botuser rescue @bot.auth.everyone
     end