From 579af3c44200a8325bd2eec9e6ff0ec28fa7125b Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Feb 2024 14:49:39 +0000 Subject: Rip out ns_access and related code. This is wildly insecure and has been disabled by default for at least a decade. --- modules/webcpanel/pages/chanserv/set.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'modules/webcpanel/pages/chanserv') diff --git a/modules/webcpanel/pages/chanserv/set.cpp b/modules/webcpanel/pages/chanserv/set.cpp index f04accf9c..151f0b0ea 100644 --- a/modules/webcpanel/pages/chanserv/set.cpp +++ b/modules/webcpanel/pages/chanserv/set.cpp @@ -76,14 +76,6 @@ bool WebCPanel::ChanServ::Set::OnRequest(HTTPProvider *server, const Anope::stri ci->Shrink("RESTRICTED"); replacements["MESSAGES"] = "Restricted updated"; } - if (ci->HasExt("CS_SECURE") != message.post_data.count("secure")) - { - if (!ci->HasExt("CS_SECURE")) - ci->Extend("CS_SECURE"); - else - ci->Shrink("CS_SECURE"); - replacements["MESSAGES"] = "Secure updated"; - } if (ci->HasExt("SECUREOPS") != message.post_data.count("secureops")) { if (!ci->HasExt("SECUREOPS")) @@ -132,9 +124,6 @@ bool WebCPanel::ChanServ::Set::OnRequest(HTTPProvider *server, const Anope::stri if (ci->HasExt("RESTRICTED")) replacements["RESTRICTED"]; - if (ci->HasExt("CS_SECURE")) - replacements["SECURE"]; - if (ci->HasExt("SECUREOPS")) replacements["SECUREOPS"]; -- cgit