aboutsummaryrefslogtreecommitdiff
path: root/modules/spanningtree/postcommand.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-02 20:59:41 +0000
committerGravatar Sadie Powell2026-03-02 21:09:27 +0000
commit7110535309675a6579c57900ef75498bfb2e0ce6 (patch)
treed419a876ee5534e5aef23f14efde5161d92a0126 /modules/spanningtree/postcommand.cpp
parentLoad the swhois module if a config contains the swhois_ext module. (diff)
Rename ServiceProvider::creator to service_creator and add GetSource.
Diffstat (limited to 'modules/spanningtree/postcommand.cpp')
-rw-r--r--modules/spanningtree/postcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spanningtree/postcommand.cpp b/modules/spanningtree/postcommand.cpp
index 66eb0d4a1..fbb0ecc3c 100644
--- a/modules/spanningtree/postcommand.cpp
+++ b/modules/spanningtree/postcommand.cpp
@@ -73,7 +73,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, CommandBase* thiscm
}
else
{
- Module* srcmodule = thiscmd->creator;
+ auto* srcmodule = thiscmd->service_creator.ptr();
if (!(srcmodule->properties & (VF_COMMON | VF_CORE)) && srcmodule != Creator)
{
ServerInstance->Logs.Normal(MODNAME, "Routed command {} from non-VF_COMMON module {}",