summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index d7be8b12b..debad4f89 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -920,20 +920,6 @@ class ModuleSSLGnuTLS : public Module
void OnEvent(Event* ev)
{
GenericCapHandler(ev, "tls", "tls");
- if (ev->GetEventID() == "cap_req")
- {
- /* GenericCapHandler() Extends("tls") a user if it does
- * CAP REQ tls. Check if this was done.
- */
- CapData *data = (CapData *) ev->GetData();
- if (data->user->Shrink("tls"))
- {
- /* Not in our spec?!?! */
- data->user->AddIOHook(this);
- OnRawSocketAccept(data->user->GetFd(), data->user->GetIPString(),
- data->user->GetPort());
- }
- }
}
void Prioritize()