aboutsummaryrefslogtreecommitdiff
path: root/modules/spanningtree/postcommand.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-02 12:40:52 +0000
committerGravatar Sadie Powell2026-03-02 12:40:52 +0000
commitcf3ce6cc23401f13869f5134227e50459f2b809d (patch)
tree88261dde94d90539b85fe4b430cbbce599be6748 /modules/spanningtree/postcommand.cpp
parentFix regular users being told about server operator privileges. (diff)
Rename ServiceProvider methods to avoid shadowing issues.
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 95cb5832a..66eb0d4a1 100644
--- a/modules/spanningtree/postcommand.cpp
+++ b/modules/spanningtree/postcommand.cpp
@@ -39,7 +39,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, CommandBase* thiscm
if (routing.type == RouteType::LOCAL)
return;
- const std::string& command = thiscmd->name;
+ const std::string& command = thiscmd->service_name;
const bool encap = ((routing.type == RouteType::OPTIONAL_BROADCAST) || (routing.type == RouteType::OPTIONAL_UNICAST));
CmdBuilder params(user, encap ? "ENCAP" : command.c_str());
params.push_tags(parameters.GetTags());