summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-26 16:23:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-26 16:23:55 +0000
commitce4a4abaf25344a2ac0f56e13770bd49ab776aed (patch)
tree87557429af9609a768ce2a8ecfae1b50828df94a /include
parent01aae0d76263d28bae3642545d7c071290d242da (diff)
Fix bug reported by darix where inspircd process returns 15 for successful startup rather than the correct 0
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6715 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index fc5a15da1..984122a18 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -727,12 +727,19 @@ class InspIRCd : public classbase
*/
static void Rehash(int status);
- /** Causes the server to exit immediately
+ /** Causes the server to exit after unloading modules and
+ * closing all open file descriptors.
+ *
* @param The exit code to give to the operating system
* (See the ExitStatus enum for valid values)
*/
static void Exit(int status);
+ /** Causes the server to exit immediately with exit code 0.
+ * The status code is required for signal handlers, and ignored.
+ */
+ static void QuickExit(int status);
+
/** Return a count of users, unknown and known connections
* @return The number of users
*/