diff options
author | madmaxoft <github@xoft.cz> | 2013-12-12 23:05:23 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-12 23:05:23 +0100 |
commit | 91587f63c4b8b4425d64105a6447008a912aba16 (patch) | |
tree | bd9776e288f5ce673cb5610dbdbc258eb6b9bc19 /src/ClientHandle.cpp | |
parent | Fixed protocol 1.7 recovery after unknown packet. (diff) | |
download | cuberite-91587f63c4b8b4425d64105a6447008a912aba16.tar cuberite-91587f63c4b8b4425d64105a6447008a912aba16.tar.gz cuberite-91587f63c4b8b4425d64105a6447008a912aba16.tar.bz2 cuberite-91587f63c4b8b4425d64105a6447008a912aba16.tar.lz cuberite-91587f63c4b8b4425d64105a6447008a912aba16.tar.xz cuberite-91587f63c4b8b4425d64105a6447008a912aba16.tar.zst cuberite-91587f63c4b8b4425d64105a6447008a912aba16.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(); } |