summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMark Kretschmann <markey@web.de>2006-08-11 08:02:07 +0000
committerMark Kretschmann <markey@web.de>2006-08-11 08:02:07 +0000
commite90a6ac1e600db1a6b19c56532e4a1f268455a8b (patch)
tree17a63659bb1cb84593cf7ad3d2d8bd2593ae33ec /data
parent1ff971768b7eb406607519a298fa030c25cd8e6b (diff)
Tango says, ! in auth_path is bad mojo.
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/script.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/script.rb b/data/rbot/plugins/script.rb
index 660c0952..f559addd 100644
--- a/data/rbot/plugins/script.rb
+++ b/data/rbot/plugins/script.rb
@@ -141,9 +141,9 @@ plugin = ScriptPlugin.new
plugin.register( "script" )
plugin.default_auth( 'edit', false )
-plugin.map 'script add -f :name *code', :action => 'handle_add_force', :auth_path => 'edit!'
-plugin.map 'script add :name *code', :action => 'handle_add', :auth_path => 'edit!'
-plugin.map 'script del :name', :action => 'handle_del', :auth_path => 'edit!'
+plugin.map 'script add -f :name *code', :action => 'handle_add_force', :auth_path => 'edit'
+plugin.map 'script add :name *code', :action => 'handle_add', :auth_path => 'edit'
+plugin.map 'script del :name', :action => 'handle_del', :auth_path => 'edit'
plugin.map 'script list :page', :action => 'handle_list', :defaults => { :page => '1' }
plugin.map 'script show :name', :action => 'handle_show'