From fcbdd0acd15c13bda2c6ecda47e7686fca17b3cf Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 6 Dec 2007 14:29:57 +0000 Subject: auth: don't say stupid things when the password is changed --- lib/rbot/core/auth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index d321ad07..051b374b 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -449,7 +449,7 @@ class AuthModule < CoreBotModule end set_prop(butarget, arg, argarg) @bot.auth.set_changed - auth_manage_user(m, {:data => ["show", arg, "for", butarget.username] }) + auth_manage_user(m, {:data => ["show", arg.to_s, "for", butarget.username] }) when :reset return m.reply(_("you can't change the default user")) if -- cgit v1.2.3