diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-09-06 19:50:22 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-09-06 19:50:22 +0000 |
commit | 70351b15aadcce2e2f167952fbbaa96188916f26 (patch) | |
tree | dc621a8c921fd3bb75c17ace85ec3a439eaa5247 /data/rbot | |
parent | 9c5bfe75338fac268d5baf476729017c5b132c08 (diff) |
No-parameter commands in the topic plugin weren't recognized anymore. Fix it
Diffstat (limited to 'data/rbot')
-rwxr-xr-x | data/rbot/plugins/topic.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/topic.rb b/data/rbot/plugins/topic.rb index 45e77066..9b6ffdb4 100755 --- a/data/rbot/plugins/topic.rb +++ b/data/rbot/plugins/topic.rb @@ -213,8 +213,8 @@ class TopicPlugin < Plugin end plugin = TopicPlugin.new -plugin.map 'topic :command *text', :action => 'handletopic', :public => true, :private => false -plugin.map 'topic :channel :command *text', :action => 'handletopic', :public => false, :private => true +plugin.map 'topic :command [*text]', :action => 'handletopic', :public => true, :private => false +plugin.map 'topic :channel :command [*text]', :action => 'handletopic', :public => false, :private => true plugin.default_auth('*', false) |