summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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