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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);