]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
poll: missing choice value in reply
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 30 Nov 2010 17:52:43 +0000 (18:52 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 30 Nov 2010 17:52:43 +0000 (18:52 +0100)
data/rbot/plugins/poll.rb

index 086a929734d7052431471239652e1153a0b7ecd2..814b2673ff67390a65dbb346d7475c10734672eb 100644 (file)
@@ -67,6 +67,7 @@ class ::Poll
       @voters[voter] = choice
 
       return _("recorded your vote for %{choice}: %{value}") % {
+        :choice => choice,
         :value => @answers[choice][:value]
       }
     else