diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/core/auth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index cb54c057..97429041 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -74,7 +74,7 @@ class AuthModule < CoreBotModule when false
locs << x.gsub(/^here$/,'_').gsub(/^private$/,'?')
else
- warns << ArgumentError("%{string} doesn't look like a channel name" % {:string => x}) unless @bot.server.supports[:chantypes].include?(x[0])
+ warns << ArgumentError.new(_("'%{string}' doesn't look like a channel name") % {:string => x}) unless @bot.server.supports[:chantypes].include?(x[0])
locs << x
end
unless want_more
|