diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-12-19 18:48:14 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-12-19 18:48:14 +0000 |
commit | fb81f00c698e7d897ec9ba2186eb33b007c3aa87 (patch) | |
tree | add97c322fbbba70fa8c0e5cb88e8250cc649a37 /lib/rbot | |
parent | c92d77d927b51c651b4c0146eb8cfd3627fe0e5a (diff) |
* (core/auth) fixed an error in error handling code
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 f6f4a125..b0aa12c1 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -70,7 +70,7 @@ class AuthModule < CoreBotModule if "+-".include?(x[0])
warns << ArgumentError.new(_("please do not use + or - in front of command %{command} when resetting") % {:command => x}) unless setting
else
- warns << ArgumentError.new(_("+ or - expected in front of %{string}") % {:string => command}) if setting
+ warns << ArgumentError.new(_("+ or - expected in front of %{string}") % {:string => x}) if setting
end
cmds << x
else # parse locations
|