summaryrefslogtreecommitdiff
path: root/lib/rbot/core/config.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-14 16:36:43 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-14 16:36:43 +0100
commit2ecf2f58c843895ce4ad143d0a05283c4b7e37e8 (patch)
tree4cd50adffa11fe49f4825f00aa117eaca7541264 /lib/rbot/core/config.rb
parent0668486764d2940242315e91eeb61c54b5dfb1d7 (diff)
config core module: default command auth fixes
Diffstat (limited to 'lib/rbot/core/config.rb')
-rw-r--r--lib/rbot/core/config.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/rbot/core/config.rb b/lib/rbot/core/config.rb
index 9f5d76f0..ad9b7c74 100644
--- a/lib/rbot/core/config.rb
+++ b/lib/rbot/core/config.rb
@@ -265,10 +265,10 @@ conf.map 'config desc :key',
:auth_path => 'show'
conf.map 'config describe :key',
:action => 'handle_desc',
- :auth_path => 'show'
+ :auth_path => 'show::desc!'
conf.map 'config search *rx',
:action => 'handle_search',
- :autho_path => 'show'
+ :auth_path => 'show'
conf.map "save",
:action => 'bot_save'
@@ -316,7 +316,8 @@ conf.map 'config help :topic',
:auth_path => '!help!'
conf.default_auth('*', false)
-conf.default_auth('show::status', true)
+conf.default_auth('show', true)
+conf.default_auth('show::get', false)
# TODO these shouldn't be set here, we need a way to let the default
# permission be specified together with the ConfigValue
conf.default_auth('key', true)