From: divverent Date: Fri, 3 Sep 2010 05:23:15 +0000 (+0000) Subject: fix connect help X-Git-Tag: xonotic-v0.1.0preview~255 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d146c601a4743f7c087958f2d2f52c0ed4ae22ff;p=xonotic%2Fdarkplaces.git fix connect help git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10435 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=1b8df685ec8616067bea6a892c294239c27e94f5 --- diff --git a/host_cmd.c b/host_cmd.c index 89d49cf6..14236454 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