summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-14 19:49:04 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-14 19:49:04 +0200
commitb52aa00fb8fcb9ef1fe2372a72013f8ea2e1176e (patch)
tree309ddd640d86dc7e4bbfef25e8a3e8e9d1534e02 /lib
parentf7c6b2e8300a609dfc2077dfa0a11d40aa3daf64 (diff)
auth core botmodule: it's p, not params
Diffstat (limited to 'lib')
-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?