From: <cf...@us...> - 2010-05-14 09:00:52
|
Revision: 1987 http://znc.svn.sourceforge.net/znc/?rev=1987&view=rev Author: cflakes Date: 2010-05-14 09:00:46 +0000 (Fri, 14 May 2010) Log Message: ----------- <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 Modified Paths: -------------- trunk/modules/webadmin.cpp Modified: trunk/modules/webadmin.cpp =================================================================== --- trunk/modules/webadmin.cpp 2010-05-14 08:59:19 UTC (rev 1986) +++ trunk/modules/webadmin.cpp 2010-05-14 09:00:46 UTC (rev 1987) @@ -102,8 +102,7 @@ // 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"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |