diff options
| author | 2026-03-02 12:40:52 +0000 | |
|---|---|---|
| committer | 2026-03-02 12:40:52 +0000 | |
| commit | cf3ce6cc23401f13869f5134227e50459f2b809d (patch) | |
| tree | 88261dde94d90539b85fe4b430cbbce599be6748 /modules/spanningtree/netburst.cpp | |
| parent | Fix regular users being told about server operator privileges. (diff) | |
Rename ServiceProvider methods to avoid shadowing issues.
Diffstat (limited to 'modules/spanningtree/netburst.cpp')
| -rw-r--r-- | modules/spanningtree/netburst.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/spanningtree/netburst.cpp b/modules/spanningtree/netburst.cpp index cf6b87f22..36de6b71c 100644 --- a/modules/spanningtree/netburst.cpp +++ b/modules/spanningtree/netburst.cpp @@ -158,7 +158,7 @@ void TreeSocket::SyncChannel(Channel* chan, TreeServer* s) const std::string valuestr = item->ToNetwork(chan, value); if (!valuestr.empty()) { - this->WriteLine(CommandMetadata::Builder(chan, item->name, valuestr)); + this->WriteLine(CommandMetadata::Builder(chan, item->service_name, valuestr)); item->OnSync(chan, value, s); } } @@ -170,7 +170,7 @@ void TreeSocket::SyncChannel(Channel* chan, TreeServer* s) const std::string valuestr = item->ToNetwork(memb, value); if (!valuestr.empty()) { - this->WriteLine(CommandMetadata::Builder(memb, item->name, valuestr)); + this->WriteLine(CommandMetadata::Builder(memb, item->service_name, valuestr)); item->OnSync(memb, value, s); } } @@ -204,7 +204,7 @@ void TreeSocket::SendUsers(TreeServer* s) const std::string value = item->ToNetwork(user, obj); if (!value.empty()) { - this->WriteLine(CommandMetadata::Builder(user, item->name, value)); + this->WriteLine(CommandMetadata::Builder(user, item->service_name, value)); item->OnSync(user, obj, s); } } |
