fix(cmd): increase /connect max args from 7 to 9 #65

Manually merged
jabber.developer merged 1 commits from fix/connect_max_args into master 2026-01-07 09:14:51 +00:00
Collaborator

fix(cmd): increase /connect max args from 7 to 9

Description

The /connect command was configured to accept a maximum of 7 arguments, but the actual command syntax requires up to 9 arguments when fully specified:

Argument count: account + server + + port + + tls + <tls_value> + auth + <auth_value> = 9 args

Solution

Updated parse_args max argument count from 7 to 9 in /connect command definition.

Changes

cmd_defs.c: Changed max args from 7 to 9, added explanatory comment

Testing

Verified that /connect with all options now parses correctly
All unit tests pass
All functional tests pass

# fix(cmd): increase /connect max args from 7 to 9 ### Description The /connect command was configured to accept a maximum of 7 arguments, but the actual command syntax requires up to 9 arguments when fully specified: Argument count: account + server + <server> + port + <port> + tls + <tls_value> + auth + <auth_value> = 9 args ### Solution Updated parse_args max argument count from 7 to 9 in /connect command definition. ### Changes cmd_defs.c: Changed max args from 7 to 9, added explanatory comment ### Testing Verified that /connect with all options now parses correctly All unit tests pass All functional tests pass
jabber.developer2 added 1 commit 2026-01-06 14:28:47 +00:00
fix(cmd): increase /connect max args from 7 to 9
All checks were successful
CI Code / Check spelling (pull_request) Successful in 27s
CI Code / Check coding style (pull_request) Successful in 36s
CI Code / Linux (arch) (pull_request) Successful in 14m23s
CI Code / Linux (debian) (pull_request) Successful in 15m33s
CI Code / Linux (ubuntu) (pull_request) Successful in 15m46s
88b48000f8
The /connect command can take: account + server <s> + port <p> + tls <t> + auth <a>
which totals 9 arguments, not 7. This fixes argument parsing for full command usage.
jabber.developer approved these changes 2026-01-07 09:12:58 +00:00
jabber.developer left a comment
Owner

LGTM

LGTM
jabber.developer manually merged commit e31240a4be into master 2026-01-07 09:14:51 +00:00
Sign in to join this conversation.
No description provided.