summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-06 14:29:57 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-06 14:29:57 +0000
commitfcbdd0acd15c13bda2c6ecda47e7686fca17b3cf (patch)
treea25c47831f7a8aa7e8ac82939812fb74adb328b6 /lib/rbot
parent9986f7aa71c6e803aaeb2b8978adaed330a03dee (diff)
auth: don't say stupid things when the password is changed
Diffstat (limited to 'lib/rbot')
-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 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