From 26f9750ad174a2cfd228f5498dd0f35b2e6e6df6 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Wed, 14 Sep 2022 09:24:35 +0200 Subject: [PATCH] Merge pull request #1414 from irssi/vague666-patch-4 Add -nocap to /connect and /server connect syntax (cherry picked from commit 55913ade1350a4c1087b0238ac863e0bab081fd7) --- src/core/chat-commands.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/core/chat-commands.c b/src/core/chat-commands.c index dd8dbe75..a88a27ab 100644 --- a/src/core/chat-commands.c +++ b/src/core/chat-commands.c @@ -114,8 +114,8 @@ static SERVER_CONNECT_REC *get_server_connect(const char *data, int *plus_addr, [-tls_verify] [-tls_cafile ] [-tls_capath ] [-tls_ciphers ] [-tls_pinned_cert ] [-tls_pinned_pubkey ] [-!] [-noautosendcmd] [-tls | -notls] - [-starttls | -disallow_starttls] [-noproxy] [-network ] - [-host ] [-rawlog ] + [-nocap] [-starttls | -disallow_starttls] [-noproxy] + [-network ] [-host ] [-rawlog ]
| [ [ []]] */ /* NOTE: -network replaces the old -ircnet flag. */ static void cmd_connect(const char *data) @@ -211,14 +211,14 @@ static void cmd_server(const char *data, SERVER_REC *server, WI_ITEM_REC *item) command_runsub("server", data, server, item); } -/* SYNTAX: SERVER CONNECT [-4 | -6] [-tls] [-tls_cert ] [-tls_pkey ] - [-tls_pass ] [-tls_verify] [-tls_cafile ] - [-tls_capath ] - [-tls_ciphers ] [-tls_pinned_cert ] [-tls_pinned_pubkey ] - [-!] [-noautosendcmd] - [-noproxy] [-network ] [-host ] - [-rawlog ] - [+]
| [ [ []]] */ +/* SYNTAX: SERVER CONNECT [-4 | -6] [-tls] [-tls_cert ] [-tls_pkey ] + [-tls_pass ] [-tls_verify] [-tls_cafile ] + [-tls_capath ] [-tls_ciphers ] + [-tls_pinned_cert ] [-tls_pinned_pubkey ] + [-!] [-noautosendcmd] [-nocap] + [-noproxy] [-network ] [-host ] + [-rawlog ] + [+]
| [ [ []]] */ /* NOTE: -network replaces the old -ircnet flag. */ static void cmd_server_connect(const char *data, SERVER_REC *server) {