diff options
author | XTZGZoReX <none@none> | 2010-01-13 18:24:23 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2010-01-13 18:24:23 +0100 |
commit | f5998611c33670b9f77b4ca5382203c48f4ca63e (patch) | |
tree | 205edb66103fab54740ff9bfa57e2c60f68e4b10 /src/trinityrealm/AuthSocket.cpp | |
parent | f7ad3aefc8e63e87c29d5e9c169210f4e7e80ac8 (diff) |
Backed out changeset: 52e769d95f14
--HG--
branch : trunk
Diffstat (limited to 'src/trinityrealm/AuthSocket.cpp')
-rw-r--r-- | src/trinityrealm/AuthSocket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trinityrealm/AuthSocket.cpp b/src/trinityrealm/AuthSocket.cpp index ee71c523816..bc788426a8a 100644 --- a/src/trinityrealm/AuthSocket.cpp +++ b/src/trinityrealm/AuthSocket.cpp @@ -297,7 +297,8 @@ void AuthSocket::OnRead() ///- Report unknown commands in the debug log if (i == AUTH_TOTAL_COMMANDS) { - DEBUG_LOG("[Auth] got unknown packet %u", (uint32)_cmd); + DEBUG_LOG("[Auth] got unknown packet from '%s:%d'", GetRemoteAddress().c_str(), GetRemotePort()); + SetCloseAndDelete(); return; } } |