summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 062b89782..43045f876 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -70,7 +70,7 @@ DWORD WindowsForkStart(InspIRCd * Instance)
return false;
// Launch our "forked" process.
- BOOL bSuccess = CreateProcess ( module, module,
+ BOOL bSuccess = CreateProcess ( module, NULL,
0, // PROCESS_SECURITY_ATTRIBUTES
0, // THREAD_SECURITY_ATTRIBUTES
TRUE, // We went to inherit handles.