From b52aa00fb8fcb9ef1fe2372a72013f8ea2e1176e Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 14 Apr 2008 19:49:04 +0200 Subject: auth core botmodule: it's p, not params --- lib/rbot/core/auth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot') 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? -- cgit v1.2.3