From 2f4b09a3fd677b7fb66723bd64358dd0798a2af5 Mon Sep 17 00:00:00 2001 From: thilo Date: Sat, 12 Apr 2008 17:00:18 +0000 Subject: - 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@1312 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/server/sv_main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'code/server/sv_main.c') diff --git a/code/server/sv_main.c b/code/server/sv_main.c index 96a6515..552c12b 100644 --- a/code/server/sv_main.c +++ b/code/server/sv_main.c @@ -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; + /* ============================================================================= -- cgit v1.2.3