don't spam packet logs accidently :)

This commit is contained in:
Bill Currie 2003-03-17 04:39:33 +00:00
parent 27a02de1cc
commit 6621bbee36

View file

@ -1751,8 +1751,9 @@ SV_ReadPackets (void)
good = false;
while (NET_GetPacket ()) {
Log_Incoming_Packet(net_message->message->data,
net_message->message->cursize, 1);
if (net_packetlog->int_val)
Log_Incoming_Packet(net_message->message->data,
net_message->message->cursize, 1);
if (SV_FilterIP (net_from.ip, &until)) {
SV_SendBan (until); // tell them we aren't listening...
continue;