]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
poll: usual gettext frozen string issues
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 21 Sep 2012 13:30:47 +0000 (15:30 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 21 Sep 2012 13:30:47 +0000 (15:30 +0200)
data/rbot/plugins/poll.rb

index 0b91d27d334aaedd06b8db71c95119e0bc017423..45744b197b86438f4908d4ca6e0c29686b06e4cf 100644 (file)
@@ -327,7 +327,7 @@ class PollPlugin < Plugin
       return
     end
 
-    to_reply = _("poll #%{id} was asked by %{bold}%{author}%{bold} in %{bold}%{channel}%{bold} %{started}.")
+    to_reply = _("poll #%{id} was asked by %{bold}%{author}%{bold} in %{bold}%{channel}%{bold} %{started}.").dup
     options = ''
     outcome = ''
     if poll.running