From 1fd22793d17a5e8e385d86d2dbd2276b1876680a Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 28 Aug 2008 20:30:32 +0000 Subject: Windows compile fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10343 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_namedpipe.cpp | 2 +- win/win32service.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 #include #include -- cgit v1.2.3