mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
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:
parent
ad5c5c32a6
commit
1d70ffc9b2
1 changed files with 4 additions and 4 deletions
|
@ -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
|
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;
|
client_t *cl;
|
||||||
|
|
||||||
// make sure server is running
|
// make sure server is running
|
||||||
|
@ -1039,7 +1039,7 @@ static void SV_KickNum_f( void ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( Cmd_Argc() != 2 ) {
|
if ( Cmd_Argc() != 2 ) {
|
||||||
Com_Printf ("Usage: kicknum <client number>\n");
|
Com_Printf ("Usage: clientkick <client number>\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1318,7 +1318,7 @@ void SV_AddOperatorCommands( void ) {
|
||||||
Cmd_AddCommand ("banClient", SV_BanNum_f);
|
Cmd_AddCommand ("banClient", SV_BanNum_f);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
Cmd_AddCommand ("clientkick", SV_KickNum_f);
|
Cmd_AddCommand ("clientkick", SV_ClientKick_f);
|
||||||
Cmd_AddCommand ("status", SV_Status_f);
|
Cmd_AddCommand ("status", SV_Status_f);
|
||||||
Cmd_AddCommand ("serverinfo", SV_Serverinfo_f);
|
Cmd_AddCommand ("serverinfo", SV_Serverinfo_f);
|
||||||
Cmd_AddCommand ("systeminfo", SV_Systeminfo_f);
|
Cmd_AddCommand ("systeminfo", SV_Systeminfo_f);
|
||||||
|
|
Loading…
Reference in a new issue