From a5dde684da10d4713074affb78b657350acd3bbb Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Sun, 28 Jun 2020 16:47:25 +0530 Subject: [PATCH] Extend port warning to 6697 --- src/znc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/znc.cpp b/src/znc.cpp index 9ecc1c50..481534e5 100644 --- a/src/znc.cpp +++ b/src/znc.cpp @@ -661,14 +661,14 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) { 65534)) { continue; } - if (uListenPort == 6667) { + if (uListenPort == 6667 || uListenPort == 6697) { CUtils::PrintStatus(false, - "WARNING: Some web browsers reject port " - "6667. If you intend to"); + "WARNING: Some web browsers reject ports " + "6667 and 6697. If you intend to"); CUtils::PrintStatus(false, "use ZNC's web interface, you might want " "to use another port."); - if (!CUtils::GetBoolInput("Proceed with port 6667 anyway?", + if (!CUtils::GetBoolInput("Proceed anyway?", true)) { continue; }