diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-28 20:30:32 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-28 20:30:32 +0000 |
commit | 1fd22793d17a5e8e385d86d2dbd2276b1876680a (patch) | |
tree | faf90c3289d80740108e79dc5f21b83e0b614d86 /win | |
parent | b950e46bfeef5643ff68c8c78530c1eff25d024e (diff) |
Windows compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10343 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r-- | win/inspircd_namedpipe.cpp | 2 | ||||
-rw-r--r-- | win/win32service.cpp | 1 |
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> |