makeconf: offer SSL by default if the port is 6697

This commit is contained in:
J-P Nurmi
2014-09-07 14:30:55 +02:00
parent 69e38cafe2
commit a489304a0e
+1 -1
View File
@@ -740,7 +740,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
CUtils::GetInput("[" + sHost + "] Password (probably empty)", sPass);
#ifdef HAVE_LIBSSL
bSSL = CUtils::GetBoolInput("Does this server use SSL?", false);
bSSL = CUtils::GetBoolInput("Does this server use SSL?", uServerPort == 6697);
#endif
vsLines.push_back("\t\tServer = " + sHost + ((bSSL) ? " +" : " ") + CString(uServerPort) + " " + sPass);