aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index dd45c6f09..bbbb209b2 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -917,8 +917,9 @@ public:
/** Called before a server shuts down.
* @param reason The reason the server is shutting down.
+ * @param restarting Whether the server is restarting.
*/
- virtual void OnShutdown(const std::string& reason);
+ virtual void OnShutdown(const std::string& reason, bool restarting);
/** Called when a local user is attempting to log in to an server operator account.
* @param user The user who is attempting to log in.