From adbc5a0e65ab650b2cd50f518cf9c727ec5fa7b4 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sat, 14 Dec 2013 09:56:51 +0100 Subject: irc2sql: improved handling of netsplits --- include/servers.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit