summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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