From: divverent Date: Fri, 3 Sep 2010 05:23:15 +0000 (+0000) Subject: fix connect help X-Git-Tag: xonotic-v0.1.0preview~230^2~49 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1b8df685ec8616067bea6a892c294239c27e94f5;p=xonotic%2Fdarkplaces.git fix connect help git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10435 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index d15a04ca..a3b25028 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -522,9 +522,9 @@ User command to connect to server */ void Host_Connect_f (void) { - if (Cmd_Argc() != 2) + if (Cmd_Argc() < 2) { - Con_Print("connect : connect to a multiplayer game\n"); + Con_Print("connect [ ...]: connect to a multiplayer game\n"); return; } // clear the rcon password, to prevent vulnerability by stuffcmd-ing a connect command