summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-08 15:00:09 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-08 15:00:09 +0200
commit97dc5a5365617e4b1d8e5153755b3f22f6bd2abe (patch)
treee25fe6af066db66735f2cb8d6aec6f807bb233e3
parent1.6.2 protocol implemented, both in MCServer and in ProtoProxy (diff)
downloadcuberite-97dc5a5365617e4b1d8e5153755b3f22f6bd2abe.tar
cuberite-97dc5a5365617e4b1d8e5153755b3f22f6bd2abe.tar.gz
cuberite-97dc5a5365617e4b1d8e5153755b3f22f6bd2abe.tar.bz2
cuberite-97dc5a5365617e4b1d8e5153755b3f22f6bd2abe.tar.lz
cuberite-97dc5a5365617e4b1d8e5153755b3f22f6bd2abe.tar.xz
cuberite-97dc5a5365617e4b1d8e5153755b3f22f6bd2abe.tar.zst
cuberite-97dc5a5365617e4b1d8e5153755b3f22f6bd2abe.zip
-rw-r--r--source/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 4afa2fdbc..52f3b92ed 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -1470,7 +1470,7 @@ void cClientHandle::SendDisconnect(const AString & a_Reason)
{
if (!m_HasSentDC)
{
- LOGD("Sending a DC: \"%s\"", a_Reason.c_str());
+ LOGD("Sending a DC: \"%s\"", StripColorCodes(a_Reason).c_str());
m_Protocol->SendDisconnect(a_Reason);
m_HasSentDC = true;
}