From 70351b15aadcce2e2f167952fbbaa96188916f26 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 6 Sep 2006 19:50:22 +0000 Subject: [PATCH] No-parameter commands in the topic plugin weren't recognized anymore. Fix it --- data/rbot/plugins/topic.rb | 4 ++-- 1 file 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) -- 2.39.2