summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-02-14 20:53:52 +0000
committerPeter Powell <petpow@saberuk.com>2016-02-19 20:01:42 +0000
commit384056dd0ec72a533de7d9eca0ce25f493d1e152 (patch)
treeb023870223b94b110838e1f26aad444d3a824120
parentdf9eca077e1bb9f46311925097a21d195551a3c4 (diff)
Remove the STARTTLS token from ISUPPORT.
This is an InspIRCd-specific token which is pointless because: 1. You can't STARTTLS after registration is complete. 2. You can already discover STARTTLS support via cap `tls`.
-rw-r--r--src/modules/m_starttls.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/m_starttls.cpp b/src/modules/m_starttls.cpp
index a47480728..054f9c334 100644
--- a/src/modules/m_starttls.cpp
+++ b/src/modules/m_starttls.cpp
@@ -102,11 +102,6 @@ class ModuleStartTLS : public Module
ssl.SetProvider("ssl/" + newprovider);
}
- void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE
- {
- tokens["STARTTLS"];
- }
-
Version GetVersion() CXX11_OVERRIDE
{
return Version("Provides support for the STARTTLS command", VF_VENDOR);