fix the usage description of the clientkick server command (also rename SV_KickNum_f() to SV_ClientKick_f())

found by Ensiform
This commit is contained in:
Zack Middleton 2012-06-18 16:33:13 +00:00
parent ad5c5c32a6
commit 1d70ffc9b2

View file

@ -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 <client number>\n");
Com_Printf ("Usage: clientkick <client number>\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);