diff --git a/src/znc.cpp b/src/znc.cpp index 7ebe7343..db30b59b 100644 --- a/src/znc.cpp +++ b/src/znc.cpp @@ -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)) {