engine: server: cmds: fix kick command incorrect argc

This commit is contained in:
xiaodo 2025-02-15 01:16:13 +08:00 committed by Alibek Omarov
parent 0e2abf9040
commit a27375d1f5

View file

@ -573,7 +573,7 @@ static void SV_Kick_f( void )
sv_client_t *cl;
const char *param;
if( Cmd_Argc() != 2 )
if( Cmd_Argc() < 2 )
{
Con_Printf( S_USAGE "kick <#id|name> [reason]\n" );
return;