From 5d7f4bcc224023d9b98e1db6be7095e946ccd818 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 22 Sep 2007 07:12:43 +0000 Subject: reaction plugin: uniformize auth_path for trigger removal commands --- data/rbot/plugins/reaction.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'data') 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!' -- cgit v1.2.3