diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index b7264033e..3fe830b13 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -78,7 +78,7 @@ DWORD WindowsForkStart(InspIRCd * Instance) // Launch our "forked" process. BOOL bSuccess = CreateProcess ( module, // Module (exe) filename - GetCommandLine(), // Command line (exe plus parameters from the OS) + strdup(GetCommandLine()), // Command line (exe plus parameters from the OS) 0, // PROCESS_SECURITY_ATTRIBUTES 0, // THREAD_SECURITY_ATTRIBUTES TRUE, // We went to inherit handles. |