diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-01-06 18:34:29 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-01-06 18:34:29 +0000 |
commit | 79d1509407240c0d549843009dba4b37b64c2a9b (patch) | |
tree | 1b36d35d3add67a082262f7355778dacc371a171 /source/sv_init.c | |
parent | 0746f5d59cbf076310feca52581833a7b45f9663 (diff) |
Fixed invalid client ID being displayed by `status' command on GTV servers.
Fixed stupid Sys_Sleep bug on Unix systems.
Draw `Loading anticheat...' string in connection screen.
Added Sys_GetAntiCheatAPI stub into sys_unix.c for testing purposes.
Diffstat (limited to 'source/sv_init.c')
-rw-r--r-- | source/sv_init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/sv_init.c b/source/sv_init.c index 803322d..97fde6b 100644 --- a/source/sv_init.c +++ b/source/sv_init.c @@ -272,6 +272,11 @@ void SV_InitGame( qboolean ismvd ){ SV_InitGameProgs(); } + // init rate limits + SV_RateInit( &svs.ratelimit_status, sv_status_limit->integer, 1000 ); + SV_RateInit( &svs.ratelimit_badpass, 1, sv_badauth_time->value * 1000 ); + SV_RateInit( &svs.ratelimit_badrcon, 1, sv_badauth_time->value * 1000 ); + List_Init( &svs.udp_client_list ); List_Init( &svs.mvd.clients ); List_Init( &svs.tcp_client_list ); |