summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-26 08:06:24 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-26 08:06:24 +0100
commit6e62535cd38c5a1f00e76a6984df671d76e6c70a (patch)
treeb2a4d8ded6d5aa38341382b54e3122999cd2c9fb /lib
parentf09b9b4e9a2ded2bb841b31f85a16926c0d1a47f (diff)
parent7bc7252c6ba964c01deedac5209fa4c575b48cb3 (diff)
Merge atj's auth changes
Merge branch 'atj'
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 1066ecc8..0b8c8da4 100644
--- a/lib/rbot/core/auth.rb
+++ b/lib/rbot/core/auth.rb
@@ -584,7 +584,7 @@ class AuthModule < CoreBotModule
rescue
return m.reply(_("couldn't find botuser %{user}") % {:user => params[:botuser]})
end
- m.reply(_("I'm not telling the master password to anyway, pal")) if botuser == @bot.auth.botowner
+ return m.reply(_("I'm not telling the master password to anyone, pal")) if botuser == @bot.auth.botowner
msg = _("the password for botuser %{user} is %{password}") %
{:user => botuser.username, :password => botuser.password}
@bot.say user, msg