mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
makeconf: offer SSL by default if the port is 6697
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user