diff options
author | Mattes D <github@xoft.cz> | 2013-11-05 22:24:23 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-11-05 22:24:23 +0100 |
commit | 12eeb3f6c88f54b77363923fcff2bd4ce53ff07f (patch) | |
tree | 3ed83d1132a2b1a8b6f9e36a7d6f3a527d258992 /source/ClientHandle.cpp | |
parent | Clarified cBlockHandler::ConvertToPickups() dox. (diff) | |
parent | Implemented suggestions (diff) | |
download | cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.gz cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.bz2 cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.lz cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.xz cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.zst cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.zip |
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r-- | source/ClientHandle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp index 3fb2b7e4c..86a4aecc8 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); } @@ -2187,7 +2187,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(); } |