summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-09 23:10:39 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-09 23:10:39 +0000
commit68531a8197d57177ce8c4a674b5213d2360ad283 (patch)
tree8dca72bc179e054c158f61318a13a1eaa038e790
parent52acbb466b84a1cd161b1c111f855d6f0419fff3 (diff)
Fixed issue preventing startup without --nofork under win32
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7265 e03df62e-2008-0410-955e-edbf42e46eb7
-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.