summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/poll.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/poll.rb')
-rw-r--r--data/rbot/plugins/poll.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/poll.rb b/data/rbot/plugins/poll.rb
index 4109321d..086a9297 100644
--- a/data/rbot/plugins/poll.rb
+++ b/data/rbot/plugins/poll.rb
@@ -87,7 +87,7 @@ class ::Poll
end
def options
- options = _("options are: ")
+ options = _("options are: ").dup
@answers.each { |letter, info|
options << "#{Bold}#{letter}#{NormalText}) #{info[:value]} "
}
@@ -201,7 +201,7 @@ class PollPlugin < Plugin
command = _("poll vote %{id} <SINGLE-LETTER>") % {
:id => poll.id
}
- instructions = _("you have %{duration}, vote with ")
+ instructions = _("you have %{duration}, vote with ").dup
instructions << _("%{priv} or %{public}")
m.reply instructions % {
:duration => "#{Bold}#{target_duration}#{Bold}",