[quake3-commits] r1554 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu May 21 16:52:39 EDT 2009


Author: thilo
Date: 2009-05-21 16:52:35 -0400 (Thu, 21 May 2009)
New Revision: 1554

Modified:
   trunk/code/server/sv_ccmds.c
Log:
More commentary to source code


Modified: trunk/code/server/sv_ccmds.c
===================================================================
--- trunk/code/server/sv_ccmds.c	2009-05-11 21:48:54 UTC (rev 1553)
+++ trunk/code/server/sv_ccmds.c	2009-05-21 20:52:35 UTC (rev 1554)
@@ -595,7 +595,7 @@
 
 /*
 ==================
-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 @@
 	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 @@
 	}
 }
 
+/*
+==================
+SV_ListBans_f
+
+List all bans and exceptions on console
+==================
+*/
+
 static void SV_ListBans_f(void)
 {
 	int index, count;
@@ -805,6 +821,14 @@
 	}
 }
 
+/*
+==================
+SV_FlushBans_f
+
+Delete all bans and exceptions.
+==================
+*/
+
 static void SV_FlushBans_f(void)
 {
 	fileHandle_t blankf;



More information about the quake3-commits mailing list