summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-24 19:08:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-24 19:08:36 +0000
commita6cf47a2cd96c459bfc241c6dce8ca8454140484 (patch)
tree8330b5a6304d8a59fdf37328a6e74eb9745d0d65 /src/inspircd.cpp
parent6a149a4718ead139535ae038c2d8f8847f1a594c (diff)
work in progress
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 0efbd293a..dab49ddf0 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -719,6 +719,8 @@ InspIRCd::InspIRCd(int argc, char** argv)
WindowsForkKillOwner(this);
FreeConsole();
}
+ /* Set win32 service as running, if we are running as a service */
+ SetServiceRunning();
#endif
Logs->Log("STARTUP", DEFAULT, "Startup complete as '%s'[%s], %d max open sockets", Config->ServerName,Config->GetSID().c_str(), SE->GetMaxFds());