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