Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 63a5de13318322a3105e78061b36b37d5610844a 1 parent c31e361
@DarthGandalf DarthGandalf authored kylef committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  znc.cpp
View
2  znc.cpp
@@ -589,7 +589,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?", !sSSL.empty())) {
Please sign in to comment.
Something went wrong with that request. Please try again.