feat(Core/Hooks): OnLastIpUpdate(accountId, ip) (#4913)
This commit is contained in:
parent
8b27347902
commit
8bacb39d53
3 changed files with 11 additions and 0 deletions
|
|
@ -979,6 +979,8 @@ int WorldSocket::HandleAuthSession(WorldPacket& recvPacket)
|
|||
|
||||
LoginDatabase.Execute(stmt);
|
||||
|
||||
sScriptMgr->OnLastIpUpdate(id, address);
|
||||
|
||||
// NOTE ATM the socket is single-threaded, have this in mind ...
|
||||
ACE_NEW_RETURN(m_Session, WorldSession(id, this, AccountTypes(security), expansion, mutetime, locale, recruiter, isRecruiter, skipQueue, TotalTime), -1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue