diff options
author | XTZGZoReX <none@none> | 2010-01-13 18:25:46 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2010-01-13 18:25:46 +0100 |
commit | 53f9e0fba003dca63bdc1aba2d46bfbed756a31e (patch) | |
tree | bb5e405cd1633b9cf6dfe75937261329bd36d94f /src/trinityrealm/AuthSocket.cpp | |
parent | 5a9ef604e20d6ea30fa94a3ddbae6bc4ac6fe93e (diff) | |
parent | f5998611c33670b9f77b4ca5382203c48f4ca63e (diff) |
* Merge.
--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; } } |