mirror of
https://github.com/znc/znc.git
synced 2026-05-03 12:02:30 +02:00
<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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user