summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-28 15:50:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-28 15:50:43 +0000
commitb844b70a0f66f0203d630a5a95bf2e885bf5d106 (patch)
tree64c8a92579d4c7fec9cbc68be6b6f18f00183c22 /src/modules/extra
parentafda90cd075455267e4a44a7e349fd2d02172d13 (diff)
this new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be either, because it adds confusion and its clearly documented that initialising tls is done via STARTTLS and CAP advertises it (not to mention clients are already doing it this way)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10334 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 63d3d1a2d..910ff4a21 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -928,6 +928,7 @@ class ModuleSSLGnuTLS : public Module
CapData *data = (CapData *) ev->GetData();
if (data->user->Shrink("tls"))
{
+ /* Not in our spec?!?! */
data->user->io = this;
OnRawSocketAccept(data->user->GetFd(), data->user->GetIPString(),
data->user->GetPort());