diff options
| author | Adam <Adam@anope.org> | 2017-05-29 12:49:22 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2017-05-29 13:11:16 -0400 |
| commit | 3f143633541a5361bf5b02b0d69b65447aea7b79 (patch) | |
| tree | 3a33bd044bc8936150dcab38f355f3c3726b05e5 /modules/webcpanel/pages/chanserv/set.cpp | |
| parent | e36d24a6c500b5ad921041fcb905f684c09d71e9 (diff) | |
Remove recognized status and secure
Also remove /ns status, which is now almost useless with no recognized
status, and /ns access.
Diffstat (limited to 'modules/webcpanel/pages/chanserv/set.cpp')
| -rw-r--r-- | modules/webcpanel/pages/chanserv/set.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/webcpanel/pages/chanserv/set.cpp b/modules/webcpanel/pages/chanserv/set.cpp index 7369655ee..8e3ef0bf7 100644 --- a/modules/webcpanel/pages/chanserv/set.cpp +++ b/modules/webcpanel/pages/chanserv/set.cpp @@ -76,11 +76,6 @@ bool WebCPanel::ChanServ::Set::OnRequest(HTTPProvider *server, const Anope::stri ci->SetRestricted(!ci->IsRestricted()); replacements["MESSAGES"] = "Restricted updated"; } - if (ci->IsSecure() != message.post_data.count("secure")) - { - ci->SetSecure(!ci->IsSecure()); - replacements["MESSAGES"] = "Secure updated"; - } if (ci->IsSecureOps() != message.post_data.count("secureops")) { ci->SetSecureOps(!ci->IsSecureOps()); @@ -123,9 +118,6 @@ bool WebCPanel::ChanServ::Set::OnRequest(HTTPProvider *server, const Anope::stri if (ci->IsRestricted()) replacements["RESTRICTED"]; - if (ci->IsSecure()) - replacements["SECURE"]; - if (ci->IsSecureOps()) replacements["SECUREOPS"]; |
