summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-09 21:21:07 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-09 21:21:07 +0000
commit95f0a3c65db1020160c7a322f0e2f6c7276e14f3 (patch)
treec7feea6374fa64d649ff060db898d34fd11fd194 /lib
parentb455c0242fcdcbe2a4f51f61afd315757963da02 (diff)
auth: improve help
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/core/auth.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb
index eee50045..45a36131 100644
--- a/lib/rbot/core/auth.rb
+++ b/lib/rbot/core/auth.rb
@@ -252,7 +252,7 @@ class AuthModule < CoreBotModule
when "view"
return "permissions view [for <user>]: display the permissions for user <user>"
else
- return "topics: syntax, (re)set, view"
+ return "permission topics: syntax, (re)set, view"
end
when "user"
case topic
@@ -275,10 +275,12 @@ class AuthModule < CoreBotModule
when "destroy"
return "user destroy <botuser> <password> : destroys <botuser>; this function #{Bold}must#{Bold} be called in two steps. On the first call, no password must be specified: <botuser> is then queued for destruction. On the second call, you must specify the correct password for <botuser>, and it will be destroyed. If you want to cancel the destruction, issue the command +user cancel destroy <botuser>+"
else
- return "user show, enable|disable, add|rm netmask, set, reset, tell, create, list, destroy"
+ return "user topics: show, enable|disable, add|rm netmask, set, reset, tell, create, list, destroy"
end
+ when "auth"
+ return "auth <masterpassword>: log in as the bot owner; other commands: login, whoami, permission syntax, permissions [re]set, permissions view, user"
else
- return "#{name}: login, whoami, permission syntax, permissions [re]set, permissions view, user"
+ return "auth commands: auth, login, whoami, permission[s], user"
end
end