From: Giuseppe Bilotta Date: Tue, 30 Nov 2010 17:52:43 +0000 (+0100) Subject: poll: missing choice value in reply X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=15517f83c200f8fccb4ab7c05b8d18510e7e44ae;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git poll: missing choice value in reply --- 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