summaryrefslogtreecommitdiff
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
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
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp1
-rw-r--r--win/inspircd_namedpipe.cpp6
2 files changed, 7 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());
diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp
index a460f41a2..bd2daf53e 100644
--- a/win/inspircd_namedpipe.cpp
+++ b/win/inspircd_namedpipe.cpp
@@ -161,6 +161,12 @@ void IPC::Check()
thread->ClearStatus();
ServerInstance->Restart("Restarting due to command from GUI");
break;
+ case '4':
+ /* Toggle debug */
+ thread->SetResult(0);
+ thread->ClearStatus();
+ Config->forcedebug = !Config->forcedebug;
+ break;
}
}