mirror of
https://github.com/znc/znc.git
synced 2026-07-05 01:11:53 +02:00
Ask for port > 1024 in --makeconf
There're so many people who try lower ports and get permission denied :( Who really wants to use privileged port, can add it using /znc addport
This commit is contained in:
+1
-1
@@ -522,7 +522,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
|
||||
|
||||
do {
|
||||
bSuccess = true;
|
||||
while (!CUtils::GetNumInput("What port would you like ZNC to listen on?", uListenPort, 1, 65535)) ;
|
||||
while (!CUtils::GetNumInput("What port would you like ZNC to listen on?", uListenPort, 1025, 65535)) ;
|
||||
|
||||
#ifdef HAVE_LIBSSL
|
||||
if (CUtils::GetBoolInput("Would you like ZNC to listen using SSL?", bListenSSL)) {
|
||||
|
||||
Reference in New Issue
Block a user