summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-12-19 18:48:14 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-12-19 18:48:14 +0000
commitfb81f00c698e7d897ec9ba2186eb33b007c3aa87 (patch)
treeadd97c322fbbba70fa8c0e5cb88e8250cc649a37 /lib/rbot
parentc92d77d927b51c651b4c0146eb8cfd3627fe0e5a (diff)
* (core/auth) fixed an error in error handling code
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/core/auth.rb2
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