From 9cb82dad0699b3a4b8b2c408d8928ec87df75ca9 Mon Sep 17 00:00:00 2001 From: TehPeGaSuS <25697531+TehPeGaSuS@users.noreply.github.com> Date: Tue, 10 Mar 2026 10:02:55 +0100 Subject: [PATCH 1/2] Fix formatting in ZNC connection message Make IRC client connection example consistent with the line above --- src/znc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/znc.cpp b/src/znc.cpp index 39b3d95f..040117f4 100644 --- a/src/znc.cpp +++ b/src/znc.cpp @@ -945,7 +945,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) { CUtils::PrintMessage(""); CUtils::PrintMessage("Try something like this in your IRC client...", true); CUtils::PrintMessage("/server " + sSSL + - CString(uListenPort) + " " + sUser + ":", + CString(uListenPort) + " " + sUser + "/:", true); CUtils::PrintMessage(""); CUtils::PrintMessage( From 4c0483adfac31be09b41f00cb046aecd77711b8f Mon Sep 17 00:00:00 2001 From: TehPeGaSuS <25697531+TehPeGaSuS@users.noreply.github.com> Date: Tue, 10 Mar 2026 10:26:35 +0100 Subject: [PATCH 2/2] Use user configured network MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use user configured network on the IRC client connection message example, so it turns from `/server 1025 Admin:` to `/server 1025 Admin/libera:`. Should have done this from the start... 😅 --- src/znc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/znc.cpp b/src/znc.cpp index 040117f4..2e347a60 100644 --- a/src/znc.cpp +++ b/src/znc.cpp @@ -945,7 +945,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) { CUtils::PrintMessage(""); CUtils::PrintMessage("Try something like this in your IRC client...", true); CUtils::PrintMessage("/server " + sSSL + - CString(uListenPort) + " " + sUser + "/:", + CString(uListenPort) + " " + sUser + "/" + sNetwork + ":", true); CUtils::PrintMessage(""); CUtils::PrintMessage(