diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-08-29 14:46:29 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-08-29 14:46:29 +0200 |
commit | a3cb80f64c3ef6f8e204a90be3b659c7f39e3855 (patch) | |
tree | bd8d9a13a3313c3d22ed5e654752f78c6863a5bf /src/Server.h | |
parent | test (diff) | |
download | cuberite-a3cb80f64c3ef6f8e204a90be3b659c7f39e3855.tar cuberite-a3cb80f64c3ef6f8e204a90be3b659c7f39e3855.tar.gz cuberite-a3cb80f64c3ef6f8e204a90be3b659c7f39e3855.tar.bz2 cuberite-a3cb80f64c3ef6f8e204a90be3b659c7f39e3855.tar.lz cuberite-a3cb80f64c3ef6f8e204a90be3b659c7f39e3855.tar.xz cuberite-a3cb80f64c3ef6f8e204a90be3b659c7f39e3855.tar.zst cuberite-a3cb80f64c3ef6f8e204a90be3b659c7f39e3855.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Server.h b/src/Server.h index 9fa9ee839..d36188baf 100644 --- a/src/Server.h +++ b/src/Server.h @@ -94,6 +94,9 @@ public: void Shutdown(void); + /** Returns whether cServer::Shutdown has been called */ + bool IsShuttingDown(void) { return m_bRestarting; } + void KickUser(int a_ClientID, const AString & a_Reason); /** Authenticates the specified user, called by cAuthenticator */ |