From 29b959e8e5b885e69d29a9db8efbd7bec7efddcc Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 17 Sep 2008 18:53:19 +0000 Subject: Roll back tweak to the starttls spec requested by kvirc devs, sorry we cant do this as we have other client devs breathing down our throats that it broke their clients :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10549 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/modules') 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() -- cgit v1.2.3