diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 9ea662fec..bc63e1390 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -841,8 +841,8 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID) if(pEnd != 0) *(const_cast(pEnd)) = 0; - // drop empty and autocreated spam messages (more than 16 characters per second) - if(Length == 0 || (g_Config.m_SvSpamprotection && pPlayer->m_LastChat && pPlayer->m_LastChat+Server()->TickSpeed()*((15+Length)/16) > Server()->Tick())) + // drop empty and autocreated spam messages (more than 32 characters per second) + if(Length == 0 || (g_Config.m_SvSpamprotection && pPlayer->m_LastChat && pPlayer->m_LastChat+Server()->TickSpeed()*((31+Length)/32) > Server()->Tick())) return; //pPlayer->m_LastChat = Server()->Tick();