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 c37c9273..60f53544 100644
--- a/lib/rbot/core/auth.rb
+++ b/lib/rbot/core/auth.rb
@@ -228,7 +228,7 @@ class AuthModule < CoreBotModule
begin
botuser = @bot.auth.get_botuser(p[:user].sub(/^all$/,"everyone"))
rescue
- return m.reply(_("couldn't find botuser %{name}") % {:name => params[:user]})
+ return m.reply(_("couldn't find botuser %{name}") % {:name => p[:user]})
end
if p[:where].to_s.empty?