git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10261
e03df62e-2008-0410-955e-
edbf42e46eb7
/* A function pointer for dynamic linking tricks */
SETSERVDESC ChangeServiceConf;
/* 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;
bool IsAService()
{
USEROBJECTFLAGS uoflags;
-/* In windows we hook this to exit() */
+/* In windows we hook this to InspIRCd::Exit() */
void SetServiceStopped(int status)
{
if (!IsAService())
void SetServiceStopped(int status)
{
if (!IsAService())