diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-14 19:49:04 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-14 19:49:04 +0200 |
commit | b52aa00fb8fcb9ef1fe2372a72013f8ea2e1176e (patch) | |
tree | 309ddd640d86dc7e4bbfef25e8a3e8e9d1534e02 /lib | |
parent | f7c6b2e8300a609dfc2077dfa0a11d40aa3daf64 (diff) |
auth core botmodule: it's p, not params
Diffstat (limited to 'lib')
-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 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? |