From 1d70ffc9b2c5a0feb59f1c31b81ecf1b696230ea Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 18 Jun 2012 16:33:13 +0000 Subject: [PATCH] fix the usage description of the clientkick server command (also rename SV_KickNum_f() to SV_ClientKick_f()) found by Ensiform --- code/server/sv_ccmds.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/server/sv_ccmds.c b/code/server/sv_ccmds.c index 5f5400b6..b90be65f 100644 --- a/code/server/sv_ccmds.c +++ b/code/server/sv_ccmds.c @@ -1024,12 +1024,12 @@ static void SV_ExceptDel_f(void) /* ================== -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 @@ static void SV_KickNum_f( void ) { } if ( Cmd_Argc() != 2 ) { - Com_Printf ("Usage: kicknum \n"); + Com_Printf ("Usage: clientkick \n"); return; } @@ -1318,7 +1318,7 @@ void SV_AddOperatorCommands( void ) { 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);