diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-01-20 17:19:42 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-03-12 23:43:08 +0100 |
commit | 39dd376c40716f513ae98eb16126266d89378f87 (patch) | |
tree | 5804ab82875dfa6d61cc499efde52fa2652ace5a /src | |
parent | c83f29d2c4bf6e248cc77b3ed2d2ee1504f3b9b5 (diff) |
Core/Logging: Include more info in bad realm log
(cherry picked from commit a6dd6d7841d6ab3e496d492d225c5541721c8dfd)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Server/WorldSocket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp index 9447204e2b9..e3c6179a34a 100644 --- a/src/server/game/Server/WorldSocket.cpp +++ b/src/server/game/Server/WorldSocket.cpp @@ -460,7 +460,8 @@ void WorldSocket::HandleAuthSessionCallback(std::shared_ptr<AuthSession> authSes if (authSession->RealmID != realm.Id.Realm) { SendAuthResponseError(REALM_LIST_REALM_NOT_FOUND); - TC_LOG_ERROR("network", "WorldSocket::HandleAuthSession: Sent Auth Response (bad realm)."); + TC_LOG_ERROR("network", "WorldSocket::HandleAuthSession: Client %s requested connecting with realm id %u but this realm has id %u set in config.", + GetRemoteIpAddress().to_string().c_str(), authSession->RealmID, realm.Id.Realm); DelayedCloseSocket(); return; } |