diff options
| author | 2026-06-07 09:28:21 +0100 | |
|---|---|---|
| committer | 2026-06-07 09:28:21 +0100 | |
| commit | ff68b9828fe76775643ef0ddd4688758eae6dd41 (patch) | |
| tree | 6f652458e1288b88b48ac3b8e06aa6d4a729299f /modules/spanningtree/remoteuser.cpp | |
| parent | Fix an off by one error in the swhois module. (diff) | |
Fix some code that was accidentally removed in the latest merge.
Diffstat (limited to 'modules/spanningtree/remoteuser.cpp')
| -rw-r--r-- | modules/spanningtree/remoteuser.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/spanningtree/remoteuser.cpp b/modules/spanningtree/remoteuser.cpp index 717a6fd9f..8ccb2368f 100644 --- a/modules/spanningtree/remoteuser.cpp +++ b/modules/spanningtree/remoteuser.cpp @@ -27,7 +27,19 @@ SpanningTree::RemoteUser::RemoteUser(const std::string& uid, Server* srv) { } +void SpanningTree::RemoteUser::WriteRemoteNotice(const std::string& text) +{ + MessageBuilder("NOTICE") + .Push(this->uuid, text) + .Unicast(this); +} + void SpanningTree::RemoteUser::WriteRemoteNumeric(const Numeric::Numeric& numeric) { CommandNum::Builder(this, numeric).Unicast(this); } + +void SpanningTree::RemoteUser::WriteRemoteReply(const Reply::Reply& reply) +{ + CommandReply::Builder(this, reply).Unicast(this); +} |
