aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-21 20:52:35 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-21 20:52:35 +0000
commit425e4a7cdb60ede267568dcb83a248c35491a89b (patch)
tree639e078b3f7d11a52221eec521c949896074ff5f /code/server
parentee195652335d197b7e622f605ebef6ccbd288ced (diff)
downloadioquake3-aero-425e4a7cdb60ede267568dcb83a248c35491a89b.tar.gz
ioquake3-aero-425e4a7cdb60ede267568dcb83a248c35491a89b.zip
More commentary to source code
git-svn-id: svn://svn.icculus.org/quake3/trunk@1554 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_ccmds.c26
1 files changed, 25 insertions, 1 deletions
diff --git a/code/server/sv_ccmds.c b/code/server/sv_ccmds.c
index d54fe6e..7d87960 100644
--- a/code/server/sv_ccmds.c
+++ b/code/server/sv_ccmds.c
@@ -595,7 +595,7 @@ static void SV_RehashBans_f(void)
/*
==================
-SV_BanAddr_f
+SV_AddBanToList
Ban a user from being able to play on this server based on his ip address.
==================
@@ -715,6 +715,14 @@ static void SV_AddBanToList(qboolean isexception)
serverBansCount++;
}
+/*
+==================
+SV_DelBanFromList
+
+Remove a ban or an exception from the list.
+==================
+*/
+
static void SV_DelBanFromList(qboolean isexception)
{
int index, count, todel;
@@ -774,6 +782,14 @@ static void SV_DelBanFromList(qboolean isexception)
}
}
+/*
+==================
+SV_ListBans_f
+
+List all bans and exceptions on console
+==================
+*/
+
static void SV_ListBans_f(void)
{
int index, count;
@@ -805,6 +821,14 @@ static void SV_ListBans_f(void)
}
}
+/*
+==================
+SV_FlushBans_f
+
+Delete all bans and exceptions.
+==================
+*/
+
static void SV_FlushBans_f(void)
{
fileHandle_t blankf;