X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Fwin32service.cpp;h=eec5acff2e4a84ea7725ad2f8cb6128585a7a695;hb=d56e1a1d586d61cfee2cdb8f6e8ecd71428385d8;hp=ef2e0f3a41564affbe7b61bb01d25382f0c5c862;hpb=d807048fc6e50f4cee4848680319837ae5c878f8;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/win32service.cpp b/win/win32service.cpp index ef2e0f3a4..eec5acff2 100644 --- a/win/win32service.cpp +++ b/win/win32service.cpp @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team + * InspIRCd: (C) 2002-2009 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see @@ -12,6 +12,7 @@ */ #include "inspircd_config.h" #include "inspircd.h" +#include "exitcodes.h" #include #include #include @@ -69,8 +70,8 @@ DWORD WINAPI WorkerThread(LPDWORD param) { char modname[MAX_PATH]; GetModuleFileName(NULL, modname, sizeof(modname)); - char* argv[] = { modname, "--nofork", "--debug" }; - smain(3, argv); + char* argv[] = { modname, "--nofork" }; + smain(2, argv); KillService(); return 0; }