fix(Core/WorldSocket): add missing hook OnLastIpUpdate (#7272)

This commit is contained in:
Kargatum
2021-08-13 03:58:08 +07:00
committed by GitHub
parent 2d77fe9274
commit da1fd680f3

View File

@@ -575,6 +575,8 @@ void WorldSocket::HandleAuthSessionCallback(std::shared_ptr<AuthSession> authSes
_authed = true;
sScriptMgr->OnLastIpUpdate(account.Id, address);
_worldSession = new WorldSession(account.Id, std::move(authSession->Account), shared_from_this(), account.Security,
account.Expansion, account.MuteTime, account.Locale, account.Recruiter, account.IsRectuiter, account.Security ? true : false, account.TotalTime);