summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-09-06 19:50:22 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-09-06 19:50:22 +0000
commit70351b15aadcce2e2f167952fbbaa96188916f26 (patch)
treedc621a8c921fd3bb75c17ace85ec3a439eaa5247 /data
parent9c5bfe75338fac268d5baf476729017c5b132c08 (diff)
No-parameter commands in the topic plugin weren't recognized anymore. Fix it
Diffstat (limited to 'data')
-rwxr-xr-xdata/rbot/plugins/topic.rb4
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)