summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-04 22:51:24 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-04 22:51:24 +0100
commite832736e0bf315585f873b43520d1d771930a1c2 (patch)
treed9fce26b198075371b04356b6f66f31da51f4493 /source/ClientHandle.cpp
parentProtocol 1.7: Added more client-bound packets. (diff)
downloadcuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.gz
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.bz2
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.lz
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.xz
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.zst
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.zip
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 6860a29ca..5bef11988 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -205,7 +205,7 @@ void cClientHandle::Kick(const AString & a_Reason)
{
if (m_State >= csAuthenticating) // Don't log pings
{
- LOG("Kicking user \"%s\" for \"%s\"", m_Username.c_str(), a_Reason.c_str());
+ LOG("Kicking user \"%s\" for \"%s\"", m_Username.c_str(), StripColorCodes(a_Reason).c_str());
}
SendDisconnect(a_Reason);
}
@@ -2196,7 +2196,7 @@ void cClientHandle::SocketClosed(void)
{
// The socket has been closed for any reason
- LOG("Client \"%s\" @ %s disconnected", m_Username.c_str(), m_IPString.c_str());
+ LOGD("Client \"%s\" @ %s disconnected", m_Username.c_str(), m_IPString.c_str());
Destroy();
}