From 4ba78a6ab8e436f8c6ab0286465df014f779f50c Mon Sep 17 00:00:00 2001 From: cflakes Date: Fri, 14 May 2010 09:00:46 +0000 Subject: [PATCH] someone should commit the one-liner which makes the CListener created by webadmin always be CListener::ACCEPT_HTTP since that's the old behavior anyway git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1987 726aef4b-f618-498e-8847-2d620e286838 --- modules/webadmin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/webadmin.cpp b/modules/webadmin.cpp index 80f948a4..2c531cf0 100644 --- a/modules/webadmin.cpp +++ b/modules/webadmin.cpp @@ -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";