diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-15 12:58:34 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-15 12:58:34 +0000 |
commit | 451bc325030d8149c9354fdd468d71d5d3875d41 (patch) | |
tree | 4dd5cea30832797f6524c371cab857c6385960e0 /data/rbot/plugins/autoop.rb | |
parent | aac65435db87b33b0a5aa2d8a92e95f0d2bb209f (diff) |
autoop plugin: make it work again when no channel is specified
Diffstat (limited to 'data/rbot/plugins/autoop.rb')
-rw-r--r-- | data/rbot/plugins/autoop.rb | 7 |
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' |