- Tiny fix to the failed login call.

This commit is contained in:
Andrew Bastien 2015-07-24 20:24:26 -04:00 committed by Griatch
parent e0e382e0c6
commit c1f35a4e10

View file

@ -166,8 +166,9 @@ class CmdUnconnectedConnect(MuxCommand):
session.msg(string)
# this just updates the throttle
_throttle(session, storage=_LATEST_FAILED_LOGINS)
# calls player hook for a failed login.
player.at_failed_login(session)
# calls player hook for a failed login if possible.
if player:
player.at_failed_login(session)
return
# Check IP and/or name bans