Update admin.py

This commit is contained in:
homeofpoe 2022-10-25 10:27:53 -07:00 committed by GitHub
parent f58354ce23
commit e69e34311c

View file

@ -405,7 +405,7 @@ class CmdNewPassword(COMMAND_DEFAULT_CLASS):
account.set_password(newpass)
account.save()
self.msg(f"{account.name} - new password set to '{new pass}'.")
self.msg(f"{account.name} - new password set to '{newpass}'.")
if account.character != caller:
account.msg(f"{caller.name} has changed your password to '{newpass}'.")
logger.log_sec(