]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Tango says, ! in auth_path is bad mojo.
authorMark Kretschmann <markey@web.de>
Fri, 11 Aug 2006 08:02:07 +0000 (08:02 +0000)
committerMark Kretschmann <markey@web.de>
Fri, 11 Aug 2006 08:02:07 +0000 (08:02 +0000)
data/rbot/plugins/script.rb

index 660c09521dc6ac5aa42e2b8905f7d6cfd59f68dc..f559addd6941ed79a0d7310e751958200883163d 100644 (file)
@@ -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'