From 1b8df685ec8616067bea6a892c294239c27e94f5 Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 3 Sep 2010 05:23:15 +0000 Subject: [PATCH] fix connect help git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10435 d7cf8633-e32d-0410-b094-e92efae38249 --- host_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2