aboutsummaryrefslogtreecommitdiffstats
path: root/code/server/sv_main.c
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-12 17:00:18 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-12 17:00:18 +0000
commit2f4b09a3fd677b7fb66723bd64358dd0798a2af5 (patch)
treedbbaa32ed2043db251064baacb700ffc973b7fa3 /code/server/sv_main.c
parenta957b652bae5d1a5320eb01c349437bc7197b91a (diff)
downloadioquake3-aero-2f4b09a3fd677b7fb66723bd64358dd0798a2af5.tar.gz
ioquake3-aero-2f4b09a3fd677b7fb66723bd64358dd0798a2af5.zip
- 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
Diffstat (limited to 'code/server/sv_main.c')
-rw-r--r--code/server/sv_main.c3
1 files changed, 3 insertions, 0 deletions
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;
+
/*
=============================================================================