Core/BnetServer: Bnetserver cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9392ad28767626e519c463e2110184d71ba8426)
This commit is contained in:
@@ -59,7 +59,7 @@ namespace Game
|
||||
_battlePetMgr = new BattlePetMgr(this);
|
||||
_collectionMgr = new CollectionMgr(this);
|
||||
|
||||
m_Address = sock.GetRemoteIpAddress().ToString();
|
||||
m_Address = sock.GetRemoteIpAddress().Address.ToString();
|
||||
ResetTimeOutTime(false);
|
||||
DB.Login.Execute("UPDATE account SET online = 1 WHERE id = {0};", GetAccountId()); // One-time query
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user