summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-11-30 18:52:43 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-11-30 18:52:43 +0100
commit15517f83c200f8fccb4ab7c05b8d18510e7e44ae (patch)
treed215cd48253b842acda4f115c9696a9c5800fa6d /data/rbot/plugins
parent94ab3e427fbeb5c855539fe2b962942be630aba3 (diff)
poll: missing choice value in reply
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/poll.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/poll.rb b/data/rbot/plugins/poll.rb
index 086a9297..814b2673 100644
--- a/data/rbot/plugins/poll.rb
+++ b/data/rbot/plugins/poll.rb
@@ -67,6 +67,7 @@ class ::Poll
@voters[voter] = choice
return _("recorded your vote for %{choice}: %{value}") % {
+ :choice => choice,
:value => @answers[choice][:value]
}
else