summaryrefslogtreecommitdiff
path: root/win/win32service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'win/win32service.cpp')
-rw-r--r--win/win32service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/win32service.cpp b/win/win32service.cpp
index 0eb9d0c1a..b6bca46b2 100644
--- a/win/win32service.cpp
+++ b/win/win32service.cpp
@@ -183,7 +183,7 @@ void InstallService(void)
}
myService = CreateService(scm,"InspIRCd","Inspire IRC Daemon", SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS,
- SERVICE_DEMAND_START, SERVICE_ERROR_NORMAL, modname, 0, 0, 0, NULL, NULL);
+ SERVICE_AUTO_START, SERVICE_ERROR_NORMAL, modname, 0, 0, 0, NULL, NULL);
if (!myService)
{