diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-11 00:01:24 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-11 00:01:24 +0100 |
commit | d9a429ec6463818b50f3c930732abaa29e0af558 (patch) | |
tree | b1024f5001265301ed1ca6e23bd6d5c325e825fd /src/ClientHandle.cpp | |
parent | fixed unused expression warnings in blockFire (diff) | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
download | cuberite-d9a429ec6463818b50f3c930732abaa29e0af558.tar cuberite-d9a429ec6463818b50f3c930732abaa29e0af558.tar.gz cuberite-d9a429ec6463818b50f3c930732abaa29e0af558.tar.bz2 cuberite-d9a429ec6463818b50f3c930732abaa29e0af558.tar.lz cuberite-d9a429ec6463818b50f3c930732abaa29e0af558.tar.xz cuberite-d9a429ec6463818b50f3c930732abaa29e0af558.tar.zst cuberite-d9a429ec6463818b50f3c930732abaa29e0af558.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index aa223f5df..f7e18974f 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -2160,12 +2160,12 @@ void cClientHandle::PacketBufferFull(void) -void cClientHandle::PacketUnknown(unsigned char a_PacketType) +void cClientHandle::PacketUnknown(UInt32 a_PacketType) { - LOGERROR("Unknown packet type 0x%02x from client \"%s\" @ %s", a_PacketType, m_Username.c_str(), m_IPString.c_str()); + LOGERROR("Unknown packet type 0x%x from client \"%s\" @ %s", a_PacketType, m_Username.c_str(), m_IPString.c_str()); AString Reason; - Printf(Reason, "Unknown [C->S] PacketType: 0x%02x", a_PacketType); + Printf(Reason, "Unknown [C->S] PacketType: 0x%x", a_PacketType); SendDisconnect(Reason); Destroy(); } |