aboutsummaryrefslogtreecommitdiffstats
path: root/modules/spanningtree/main.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-06-19 16:25:36 +0100
committerGravatar Sadie Powell2026-06-19 16:43:54 +0100
commitebcce68b6095ca9766641ce5dc00aae01d61de06 (patch)
tree1031bb5de5cbfd3be5ce37470d593bbe30154c95 /modules/spanningtree/main.cpp
parentRework error reporting and shutting down. (diff)
Move server restart logic to the core.
- Properly clean up the process with Cleanup() instead of using - DieRestart. - Use close_range on modern Linux instead of the CLOEXEC hack.
Diffstat (limited to 'modules/spanningtree/main.cpp')
-rw-r--r--modules/spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spanningtree/main.cpp b/modules/spanningtree/main.cpp
index 5cd582fe0..6a3bf5495 100644
--- a/modules/spanningtree/main.cpp
+++ b/modules/spanningtree/main.cpp
@@ -854,7 +854,7 @@ void ModuleSpanningTree::OnMode(User* source, User* u, Channel* c, const Modes::
}
}
-void ModuleSpanningTree::OnShutdown(const std::string& reason)
+void ModuleSpanningTree::OnShutdown(const std::string& reason, bool restarting)
{
const TreeServer::ChildServers& children = Utils->TreeRoot->GetChildren();
while (!children.empty())