summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2013-12-14 09:56:51 +0100
committerDukePyrolator <DukePyrolator@anope.org>2013-12-14 09:56:51 +0100
commitadbc5a0e65ab650b2cd50f518cf9c727ec5fa7b4 (patch)
treeb6f6b93c4ceffaad9a0fbc5fb96df2f47166b5d7 /include
parentf9a4a0fbeffce294d9f0818fcc02d9dd0f2ec32b (diff)
irc2sql: improved handling of netsplits
Diffstat (limited to 'include')
-rw-r--r--include/servers.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/servers.h b/include/servers.h
index 04a174e5b..9a614ae53 100644
--- a/include/servers.h
+++ b/include/servers.h
@@ -62,7 +62,8 @@ class CoreExport Server : public Extensible
bool syncing;
/* The server is juped */
bool juped;
-
+ /* The server is about to quit */
+ bool quitting;
/* Reason this server was quit */
Anope::string quit_reason;
@@ -169,6 +170,11 @@ class CoreExport Server : public Extensible
*/
bool IsJuped() const;
+ /** Check if the server is quitting
+ * @return true if this server is quitting.
+ */
+ bool IsQuitting() const;
+
/** Send a message to alll users on this server
* @param source The source of the message
* @param message The message