diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-01 17:18:27 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-01 18:07:08 +0200 |
commit | 8789c522612f28350cbeee3c24810989fb0d22cd (patch) | |
tree | ff97af8ce865677b1a833be5831eb74edda5f4df /data/rbot | |
parent | 57b2635111bdeb8bc4ce631714448e6d7486c39e (diff) |
poll plugin: make 'start' keyword optional
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/poll.rb | 2 |
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' |