summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-01 17:18:27 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-01 18:07:08 +0200
commit8789c522612f28350cbeee3c24810989fb0d22cd (patch)
treeff97af8ce865677b1a833be5831eb74edda5f4df /data/rbot
parent57b2635111bdeb8bc4ce631714448e6d7486c39e (diff)
poll plugin: make 'start' keyword optional
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/poll.rb2
1 files changed, 1 insertions, 1 deletions
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'