From 8789c522612f28350cbeee3c24810989fb0d22cd Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 1 Jul 2010 17:18:27 +0200 Subject: [PATCH 1/1] poll plugin: make 'start' keyword optional --- data/rbot/plugins/poll.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/rbot/plugins/poll.rb b/data/rbot/plugins/poll.rb index c5027e42..132af5e7 100644 --- a/data/rbot/plugins/poll.rb +++ b/data/rbot/plugins/poll.rb @@ -316,7 +316,7 @@ class PollPlugin < Plugin end plugin = PollPlugin.new -plugin.map 'poll start *blob', :action => 'start' plugin.map 'poll list', :action => 'list' plugin.map 'poll info :id', :action => 'info' plugin.map 'poll vote :id :choice', :action => 'record_vote', :threaded => true +plugin.map 'poll [start] *blob', :action => 'start' -- 2.39.5