mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-29 08:05:50 +03:00
Fixed A2A_ACK console/log flood
This commit is contained in:
parent
65d5f3bc63
commit
2dafec635b
@ -3492,7 +3492,11 @@ void SV_ConnectionlessPacket(void)
|
||||
}
|
||||
else if (c[0] == A2A_ACK && (c[1] == 0 || c[1] == '\n'))
|
||||
{
|
||||
#ifdef REHLDS_FIXES
|
||||
Con_DPrintf("A2A_ACK from %s\n", NET_AdrToString(net_from));
|
||||
#else // REHLDS_FIXES
|
||||
Con_Printf("A2A_ACK from %s\n", NET_AdrToString(net_from));
|
||||
#endif // REHLDS_FIXES
|
||||
}
|
||||
else if (c[0] == A2A_GETCHALLENGE || c[0] == A2S_INFO || c[0] == A2S_PLAYER || c[0] == A2S_RULES ||
|
||||
c[0] == S2A_LOGSTRING || c[0] == M2S_REQUESTRESTART || c[0] == M2A_CHALLENGE)
|
||||
|
Loading…
Reference in New Issue
Block a user