- Tiny fix to the failed login call.
This commit is contained in:
parent
e0e382e0c6
commit
c1f35a4e10
1 changed files with 3 additions and 2 deletions
|
|
@ -166,7 +166,8 @@ class CmdUnconnectedConnect(MuxCommand):
|
||||||
session.msg(string)
|
session.msg(string)
|
||||||
# this just updates the throttle
|
# this just updates the throttle
|
||||||
_throttle(session, storage=_LATEST_FAILED_LOGINS)
|
_throttle(session, storage=_LATEST_FAILED_LOGINS)
|
||||||
# calls player hook for a failed login.
|
# calls player hook for a failed login if possible.
|
||||||
|
if player:
|
||||||
player.at_failed_login(session)
|
player.at_failed_login(session)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue