From 0d714c2c0dd6679050df23e56eb5c660dfe07bbb Mon Sep 17 00:00:00 2001 From: Link Mauve Date: Thu, 25 Dec 2025 00:38:52 +0100 Subject: [PATCH] Rename Ports to Unencrypted ports This makes it clear that these ports are specified to connect without TLS, and hopefully lead to people using TLS ports instead by default. --- doc/user.rst | 3 ++- src/xmpp/biboumi_adhoc_commands.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/user.rst b/doc/user.rst index 065d9f0..ae89de0 100644 --- a/doc/user.rst +++ b/doc/user.rst @@ -444,7 +444,8 @@ server. The provided configuration form contains these fields: successful. It can for example be used to identify yourself using NickServ, with a command like this: `PRIVMSG NickServ :identify PASSWORD`. -- **Ports**: The list of TCP ports to use when connecting to this IRC server. +- **Unencrypted ports**: The list of TCP ports to use when connecting to + this IRC server. This list will be tried in sequence, until the connection succeeds for one of them. The connection made on these ports will not use TLS, the communication will be insecure. The default list contains 6697 and 6670. diff --git a/src/xmpp/biboumi_adhoc_commands.cpp b/src/xmpp/biboumi_adhoc_commands.cpp index 4a267e9..f1e612a 100644 --- a/src/xmpp/biboumi_adhoc_commands.cpp +++ b/src/xmpp/biboumi_adhoc_commands.cpp @@ -266,7 +266,7 @@ void ConfigureIrcServerStep1(XmppComponent&, AdhocSession& session, XmlNode& com XmlSubNode ports(x, "field"); ports["var"] = "ports"; ports["type"] = "text-multi"; - ports["label"] = "Ports"; + ports["label"] = "Unencrypted ports"; set_desc(ports, "List of ports to try, without TLS. Defaults: 6667."); for (const auto& val: utils::split(options.col(), ';', false)) {