Disable sv_floodProtect by default

This commit is contained in:
smallmodel 2024-11-25 19:35:37 +01:00
parent b719455b78
commit 6c9d6940cc
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1039,7 +1039,10 @@ void SV_Init (void)
sv_dlRate = Cvar_Get("sv_dlRate", "100", CVAR_ARCHIVE | CVAR_SERVERINFO);
sv_minPing = Cvar_Get( "sv_minPing", "0", CVAR_ARCHIVE | CVAR_SERVERINFO );
sv_maxPing = Cvar_Get( "sv_maxPing", "0", CVAR_ARCHIVE | CVAR_SERVERINFO );
sv_floodProtect = Cvar_Get( "sv_floodProtect", "1", CVAR_ARCHIVE | CVAR_SERVERINFO );
// Flood protect causes some annoyance like when trying to reload the weapon while checking scores
// so it's disabled by default.
// Since 2.0, flood protect only protect against "dmmessage" flood.
sv_floodProtect = Cvar_Get( "sv_floodProtect", "0", CVAR_ARCHIVE | CVAR_SERVERINFO );
sv_maplist = Cvar_Get( "sv_maplist", "", CVAR_ARCHIVE | CVAR_SERVERINFO );
// systeminfo