summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-12-07 23:04:53 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-12-07 23:04:53 +0100
commit73740ee220ea83d8191221a9adb312465b4e6b35 (patch)
tree8717ed8561061199ea20dd0d4da4a6a013ba7030 /lib
parentcf8324728c4b427d1955a7ed3ba65c05e2545bc3 (diff)
More gettext frozen string woes
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/core/auth.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb
index 79d8a85f..c156ce1a 100644
--- a/lib/rbot/core/auth.rb
+++ b/lib/rbot/core/auth.rb
@@ -175,11 +175,11 @@ class AuthModule < CoreBotModule
next if val.perm.empty?
case k
when :*
- str << _("on any channel: ")
+ str << _("on any channel: ").dup
when :"?"
- str << _("in private: ")
+ str << _("in private: ").dup
else
- str << _("on #{k}: ")
+ str << _("on #{k}: ").dup
end
sub = []
val.perm.each { |cmd, bool|