Color codes are stripped from the DC message
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1670 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
791bf732fd
commit
97dc5a5365
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue