summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-24 23:47:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-24 23:47:20 +0000
commitd807048fc6e50f4cee4848680319837ae5c878f8 (patch)
tree4f2c7d8e4224fedfbafe42d689b463ddaae781b3
parent2e9a32349fe923d8f09f3a0cb64528fa74412273 (diff)
Some comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10261 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--win/win32service.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/win32service.cpp b/win/win32service.cpp
index e75b2eeba..ef2e0f3a4 100644
--- a/win/win32service.cpp
+++ b/win/win32service.cpp
@@ -43,6 +43,7 @@ struct Commandline
/* A function pointer for dynamic linking tricks */
SETSERVDESC ChangeServiceConf;
+/* Returns true if this program is running as a service, false if it is running interactive */
bool IsAService()
{
USEROBJECTFLAGS uoflags;
@@ -143,7 +144,7 @@ void terminateService(int code, int wincode)
return;
}
-/* In windows we hook this to exit() */
+/* In windows we hook this to InspIRCd::Exit() */
void SetServiceStopped(int status)
{
if (!IsAService())