summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-15 12:58:34 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-15 12:58:34 +0000
commit451bc325030d8149c9354fdd468d71d5d3875d41 (patch)
tree4dd5cea30832797f6524c371cab857c6385960e0 /data
parentaac65435db87b33b0a5aa2d8a92e95f0d2bb209f (diff)
autoop plugin: make it work again when no channel is specified
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/autoop.rb7
1 files changed, 2 insertions, 5 deletions
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'