- fix a potential file descriptor leak in server side of pak downloading

- add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods.
This commit is contained in:
Thilo Schulz committed 2008-04-12 17:00:18 +00:00
1 parent 9a8cc99a93
commit f8d8a1c2f7
9 files changed
+477 -3

No files matched your search

+3
View File
@@ -54,6 +54,9 @@ cvar_t *sv_floodProtect;
cvar_t *sv_lanForceRate; // dedicated 1 (LAN) server forces local client rates to 99999 (bug #491)
cvar_t *sv_strictAuth;
serverBan_t serverBans[SERVER_MAXBANS];
int serverBansCount = 0;
/*
=============================================================================