poll: restart/close polls that were running
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 21 Sep 2012 11:56:43 +0000 (13:56 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 21 Sep 2012 11:56:43 +0000 (13:56 +0200)
commit3fba86655eaf3fefd4068360234a42e34a013388
treeeb26b05555333db46f19b78b083039cc7aced8ce
parent88d6fabb42b368a2f2ead801fb1773cdd1c710c3
poll: restart/close polls that were running

On init, we need to see if there were polls running, and put them up
again (if there's still time) or announce their results (otherwise).
data/rbot/plugins/poll.rb