summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-10-02 08:56:58 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-10-02 08:56:58 +0000
commitec1283c068d81d5d5abb153b5dac00655d854a00 (patch)
treebbb307a91c86d025ed5902820d393899c2685868 /lib
parent772d6bd322b974a9f1cfa83082dbbd47c5758652 (diff)
Usage wants a parameter
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/core/auth.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb
index 9c90d9ac..f01af87e 100644
--- a/lib/rbot/core/auth.rb
+++ b/lib/rbot/core/auth.rb
@@ -89,7 +89,7 @@ class AuthModule < CoreBotModule
splits = params[:args]
has_for = splits[-2] == "for"
- return usage unless has_for
+ return usage(m) unless has_for
begin
user = @bot.auth.get_botuser(splits[-1].sub(/^all$/,"everyone"))