diff --git a/src/commands/default/admin.py b/src/commands/default/admin.py index 9331f79e90..9d0230f4bb 100644 --- a/src/commands/default/admin.py +++ b/src/commands/default/admin.py @@ -428,8 +428,8 @@ class CmdNewPassword(MuxCommand): player = caller.search_player(self.lhs) if not player: return - player.user.set_password(self.rhs) - player.user.save() + player.set_password(self.rhs) + player.save() self.msg("%s - new password set to '%s'." % (player.name, self.rhs)) if player.character != caller: player.msg("%s has changed your password to '%s'." % (caller.name,