From d0e3551896b446a93065a7dac47e81f721b80b7c Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 22 Sep 2007 13:44:07 +0000 Subject: message.rb: fix "I'm Stupid(TM)" bug in [1100] --- lib/rbot/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot') diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb index acfd5da3..9881503c 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -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 -- cgit v1.2.3