summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-17 18:53:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-17 18:53:19 +0000
commit29b959e8e5b885e69d29a9db8efbd7bec7efddcc (patch)
tree0f90ba163cee65c1895d5046aa46da6cfb24cf17
parent48d214c9bdeb0419667ef91c081e3686b9e40a74 (diff)
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
-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()