diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/servers.h | 8 |
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 |
