Remove a message to prevent server log spamming

This commit is contained in:
def 2015-08-05 22:43:57 +02:00
parent 348ac53226
commit 8401c43edb

View file

@ -996,9 +996,9 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
if(!pRawMsg)
{
char aBuf[256];
str_format(aBuf, sizeof(aBuf), "dropped weird message '%s' (%d), failed on '%s'", m_NetObjHandler.GetMsgName(MsgID), MsgID, m_NetObjHandler.FailedMsgOn());
Console()->Print(IConsole::OUTPUT_LEVEL_DEBUG, "server", aBuf);
//char aBuf[256];
//str_format(aBuf, sizeof(aBuf), "dropped weird message '%s' (%d), failed on '%s'", m_NetObjHandler.GetMsgName(MsgID), MsgID, m_NetObjHandler.FailedMsgOn());
//Console()->Print(IConsole::OUTPUT_LEVEL_DEBUG, "server", aBuf);
return;
}