def auth_tell_password(m, params)
user = params[:user]
begin
botuser = @bot.auth.get_botuser(params[:botuser])
rescue
return m.reply(_("couldn't find botuser %{user}") % {:user => params[:botuser]})
end
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
@bot.say m.source, _("I told %{user} that %{message}") % {:user => user, :message => msg}
end