summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}