diff options
| author | 2026-03-11 21:54:40 +0000 | |
|---|---|---|
| committer | 2026-03-12 00:18:06 +0000 | |
| commit | fcb3090055429a108b9837dbd4ba505d9c291129 (patch) | |
| tree | 5c55fd77d3b24adeda54e250d91b2a44badc9c5d /modules/spanningtree/treesocket2.cpp | |
| parent | Mark all acting extbans as MATCH_REQUIRE_CHANNEL. (diff) | |
Rework sending server protocol messages.
- Replace CmdBuilder with MessageBuilder. This has a less footgun
API. All message building has to go through this now so we can
implement other message formats in the future.
- Replace the message parsing in WriteLine with an analogue to
PreProcessOldProtocolMessage. This should be much faster.
- Move parameter translation from the core to spanningtree.
- Change EncodeParameter to return the value instead of updating
in place.
- Replace the OnBuild*Message events with one OnServerMessage that
can now access all parts of the message and change them.
Diffstat (limited to 'modules/spanningtree/treesocket2.cpp')
| -rw-r--r-- | modules/spanningtree/treesocket2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spanningtree/treesocket2.cpp b/modules/spanningtree/treesocket2.cpp index f02f06d88..39ca98179 100644 --- a/modules/spanningtree/treesocket2.cpp +++ b/modules/spanningtree/treesocket2.cpp @@ -454,5 +454,5 @@ void TreeSocket::FinishAuth(const std::string& remotename, const std::string& re MyRoot->BeginBurst(); this->DoBurst(MyRoot); - CommandServer::Builder(MyRoot).Forward(MyRoot); + CommandServer::Builder(MyRoot).Broadcast(MyRoot); } |
