From 2ca15364d4ee9e425e25a6dd7c652ffb331fac6d Mon Sep 17 00:00:00 2001 From: psychon Date: Tue, 9 Mar 2010 16:47:07 +0000 Subject: [PATCH] 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 --- znc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/znc.cpp b/znc.cpp index f79e65c1..dbf997cc 100644 --- a/znc.cpp +++ b/znc.cpp @@ -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