summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/message.rb2
1 files changed, 1 insertions, 1 deletions
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