<psychon> someone should commit the one-liner which makes the CListener created by webadmin always be CListener::ACCEPT_HTTP

<psychon> since that's the old behavior anyway


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1987 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-05-14 09:00:46 +00:00
parent 7e062b086a
commit 4ba78a6ab8

View File

@@ -102,8 +102,7 @@ public:
// Now turn that into a listener instance
CListener *pListener = new CListener(uPort, sListenHost, bSSL,
(!bIPv6 ? ADDR_IPV4ONLY : ADDR_ALL),
(bShareIRCPorts ? CListener::ACCEPT_ALL : CListener::ACCEPT_HTTP));
(!bIPv6 ? ADDR_IPV4ONLY : ADDR_ALL), CListener::ACCEPT_HTTP);
if (!pListener->Listen()) {
sMessage = "Failed to add backwards-compatible listener";