mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/WorldSocket): add missing hook OnLastIpUpdate (#7272)
This commit is contained in:
@@ -575,6 +575,8 @@ void WorldSocket::HandleAuthSessionCallback(std::shared_ptr<AuthSession> authSes
|
|||||||
|
|
||||||
_authed = true;
|
_authed = true;
|
||||||
|
|
||||||
|
sScriptMgr->OnLastIpUpdate(account.Id, address);
|
||||||
|
|
||||||
_worldSession = new WorldSession(account.Id, std::move(authSession->Account), shared_from_this(), account.Security,
|
_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);
|
account.Expansion, account.MuteTime, account.Locale, account.Recruiter, account.IsRectuiter, account.Security ? true : false, account.TotalTime);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user