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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 18 12:33:13 EDT 2012


Author: ztm
Date: 2012-06-18 12:33:13 -0400 (Mon, 18 Jun 2012)
New Revision: 2269

Modified:
   trunk/code/server/sv_ccmds.c
Log:
fix the usage description of the clientkick server command (also rename SV_KickNum_f() to SV_ClientKick_f())

found by Ensiform

Modified: trunk/code/server/sv_ccmds.c
===================================================================
--- trunk/code/server/sv_ccmds.c	2012-06-18 16:32:03 UTC (rev 2268)
+++ trunk/code/server/sv_ccmds.c	2012-06-18 16:33:13 UTC (rev 2269)
@@ -1024,12 +1024,12 @@
 
 /*
 ==================
-SV_KickNum_f
+SV_ClientKick_f
 
 Kick a user off of the server  FIXME: move to game
 ==================
 */
-static void SV_KickNum_f( void ) {
+static void SV_ClientKick_f( void ) {
 	client_t	*cl;
 
 	// make sure server is running
@@ -1039,7 +1039,7 @@
 	}
 
 	if ( Cmd_Argc() != 2 ) {
-		Com_Printf ("Usage: kicknum <client number>\n");
+		Com_Printf ("Usage: clientkick <client number>\n");
 		return;
 	}
 
@@ -1318,7 +1318,7 @@
 		Cmd_AddCommand ("banClient", SV_BanNum_f);
 	}
 #endif
-	Cmd_AddCommand ("clientkick", SV_KickNum_f);
+	Cmd_AddCommand ("clientkick", SV_ClientKick_f);
 	Cmd_AddCommand ("status", SV_Status_f);
 	Cmd_AddCommand ("serverinfo", SV_Serverinfo_f);
 	Cmd_AddCommand ("systeminfo", SV_Systeminfo_f);



More information about the quake3-commits mailing list