summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win/inspircd_namedpipe.cpp2
-rw-r--r--win/win32service.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp
index bd2daf53e..367243660 100644
--- a/win/inspircd_namedpipe.cpp
+++ b/win/inspircd_namedpipe.cpp
@@ -165,7 +165,7 @@ void IPC::Check()
/* Toggle debug */
thread->SetResult(0);
thread->ClearStatus();
- Config->forcedebug = !Config->forcedebug;
+ ServerInstance->Config->forcedebug = !ServerInstance->Config->forcedebug;
break;
}
}
diff --git a/win/win32service.cpp b/win/win32service.cpp
index 27e6d541e..9fabf749f 100644
--- a/win/win32service.cpp
+++ b/win/win32service.cpp
@@ -12,6 +12,7 @@
*/
#include "inspircd_config.h"
#include "inspircd.h"
+#include "exitcodes.h"
#include <windows.h>
#include <stdlib.h>
#include <string.h>