From 451bc325030d8149c9354fdd468d71d5d3875d41 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 15 Feb 2007 12:58:34 +0000 Subject: autoop plugin: make it work again when no channel is specified --- data/rbot/plugins/autoop.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/autoop.rb b/data/rbot/plugins/autoop.rb index a47375ca..d1513a54 100644 --- a/data/rbot/plugins/autoop.rb +++ b/data/rbot/plugins/autoop.rb @@ -70,8 +70,5 @@ end plugin = AutoOP.new plugin.map 'autoop list', :action => 'list' -plugin.map 'autoop add :mask *channels', :action => 'add' -plugin.map 'autoop add :mask', :action => 'add' -plugin.map 'autoop rm :mask *channels', :action => 'rm' -plugin.map 'autoop rm :mask', :action => 'rm' - +plugin.map 'autoop add :mask [*channels]', :action => 'add' +plugin.map 'autoop rm :mask [*channels]', :action => 'rm' -- cgit v1.2.3