summaryrefslogtreecommitdiff
path: root/lib/rbot/message.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-04 01:50:37 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-04 01:50:37 +0000
commit0d5d3a20e1185e162102c7b8bea87962729f910a (patch)
tree3ad842ddc15085cc131ec956f8218fee95cb35bb /lib/rbot/message.rb
parente1227011b1fd4dbba1aaa93b5f5b9032c92c1db0 (diff)
New Auth Framework, New Irc Framework: convenience methods for Irc::User to retrieve the associated BotUser and its data
Diffstat (limited to 'lib/rbot/message.rb')
-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 6331825d..969dbc7d 100644
--- a/lib/rbot/message.rb
+++ b/lib/rbot/message.rb
@@ -167,7 +167,7 @@ module Irc
# Access the botuser corresponding to the source, if any
#
def botuser
- @bot.auth.autologin(@source) rescue @bot.auth.everyone
+ m.source.botuser rescue @bot.auth.everyone
end