From da1fd680f3d6b2063952fc650cc13410f4afdcd2 Mon Sep 17 00:00:00 2001 From: Kargatum Date: Fri, 13 Aug 2021 03:58:08 +0700 Subject: [PATCH] fix(Core/WorldSocket): add missing hook OnLastIpUpdate (#7272) --- src/server/game/Server/WorldSocket.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp index 032f95e13..733c711fe 100644 --- a/src/server/game/Server/WorldSocket.cpp +++ b/src/server/game/Server/WorldSocket.cpp @@ -575,6 +575,8 @@ void WorldSocket::HandleAuthSessionCallback(std::shared_ptr 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);