engine: server: don't bother printing about unsupported connectionless packets if sv_log_outofband is set to 0
This commit is contained in:
parent
4eaa8ab40f
commit
cb5dffd554
1 changed files with 1 additions and 3 deletions
|
@ -3196,10 +3196,8 @@ void SV_ConnectionlessPacket( netadr_t from, sizebuf_t *msg )
|
|||
if( len > 0 )
|
||||
Netchan_OutOfBand( NS_SERVER, from, len, (byte*)buf );
|
||||
}
|
||||
else
|
||||
{
|
||||
else if( sv_log_outofband.value )
|
||||
Con_DPrintf( S_ERROR "bad connectionless packet from %s:\n%s\n", NET_AdrToString( from ), args );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue