Extend port warning to 6697

This commit is contained in:
Ujjwal Sharma
2020-06-28 16:47:25 +05:30
parent 6a3ed356d4
commit a5dde684da
+4 -4
View File
@@ -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;
}