diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-26 08:29:17 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-26 08:29:17 +0000 |
commit | a5f3131154ad3ad1bf4e8ff5b45210a3fe17eb46 (patch) | |
tree | c43343d243cdab73552da5158748dce27574a30a /lib | |
parent | abdbe1adcd085a131c301bb5f40c053b96b47638 (diff) |
auth core module: fix a bug in the permissions set argument parser
Diffstat (limited to 'lib')
-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
|