summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-22 07:12:43 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-22 07:12:43 +0000
commit5d7f4bcc224023d9b98e1db6be7095e946ccd818 (patch)
tree31a03d0da9e9f030aa20c64023138f30cfed16c5
parented18ba7370544244141199767365022651710021 (diff)
reaction plugin: uniformize auth_path for trigger removal commands
-rw-r--r--data/rbot/plugins/reaction.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/data/rbot/plugins/reaction.rb b/data/rbot/plugins/reaction.rb
index 8892cf7a..c2230d65 100644
--- a/data/rbot/plugins/reaction.rb
+++ b/data/rbot/plugins/reaction.rb
@@ -374,7 +374,6 @@ plugin.map plugin.move_syntax, :action => 'handle_move',
plugin.map plugin.move_syntax.sub('*', ':'), :action => 'handle_move'
-plugin.map 'reaction del[ete] *trigger', :action => 'handle_rm'
-plugin.map 'reaction delete *trigger', :action => 'handle_rm'
-plugin.map 'reaction remove *trigger', :action => 'handle_rm'
-plugin.map 'reaction rm *trigger', :action => 'handle_rm'
+plugin.map 'reaction del[ete] *trigger', :action => 'handle_rm', :auth_path => 'del!'
+plugin.map 'reaction remove *trigger', :action => 'handle_rm', :auth_path => 'del!'
+plugin.map 'reaction rm *trigger', :action => 'handle_rm', :auth_path => 'del!'