summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/core/webservice.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/webservice.rb b/lib/rbot/core/webservice.rb
index eb01226c..112ec85e 100644
--- a/lib/rbot/core/webservice.rb
+++ b/lib/rbot/core/webservice.rb
@@ -534,7 +534,7 @@ class WebServiceModule < CoreBotModule
if not m.source
botuser = Auth::defaultbotuser
else
- botuser = m.source.botuser
+ botuser = m.source
end
netmask = '%s!%s@%s' % [botuser.username, botuser.username, m.client]