Use Listen and Listen4 in --makeconf

Before this, --makeconf used "Listen" if you said "no" to "do you want ipv6?"
and "Listen6" else. Since yesterday, "Listen" means "v4 and v6 please" (thanks
to DarthGandalg) which means we now use "Listen4" for "no" and "Listen" else.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1817 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-03-09 16:47:07 +00:00
parent 6acaebf775
commit 2ca15364d4

View File

@@ -667,10 +667,10 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
}
#endif
CString s6 = " ";
CString s6 = "4";
#ifdef HAVE_IPV6
if (CUtils::GetBoolInput("Would you like ZNC to listen using ipv6?", false)) {
s6 = "6";
s6 = " ";
}
#endif