From 99e7057a3695b23cedd37c36cb2bc1309bd263a5 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 4 Mar 2026 22:20:31 +0100 Subject: [PATCH] fix: Increase max arguments for /connect to 9 The /connect command supports several optional parameters server, port, tls, and auth. This was implemented in ac410445af65b9d332d4606a08ff549672042766 but this change in the command definitions probably were forgotten. --- src/command/cmd_defs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index ce39f3c5..3238bf15 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -143,7 +143,7 @@ static const struct cmd_t command_defs[] = { }, { CMD_PREAMBLE("/connect", - parse_args, 0, 7, NULL) + parse_args, 0, 9, NULL) CMD_MAINFUNC(cmd_connect) CMD_TAGS( CMD_TAG_CONNECTION)