diff options
| author | 2019-01-02 17:31:31 +0000 | |
|---|---|---|
| committer | 2019-01-02 20:28:46 +0000 | |
| commit | aafc03bdfc34c9426df44938403c92dbbbc0568e (patch) | |
| tree | 9213bee0804ad12bfdb75972597a4fce0420b63f /src/modules/m_spanningtree/postcommand.cpp | |
| parent | Strip message tags when talking with 1202 protocol servers. (diff) | |
Fix message tags not being broadcast across the network.
Diffstat (limited to 'src/modules/m_spanningtree/postcommand.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/postcommand.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp index c7b4707b3..448bb3b54 100644 --- a/src/modules/m_spanningtree/postcommand.cpp +++ b/src/modules/m_spanningtree/postcommand.cpp @@ -39,6 +39,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, CommandBase* thiscm const bool encap = ((routing.type == ROUTE_TYPE_OPT_BCAST) || (routing.type == ROUTE_TYPE_OPT_UCAST)); CmdBuilder params(user, encap ? "ENCAP" : command.c_str()); + params.push_tags(parameters.GetTags()); TreeServer* sdest = NULL; if (routing.type == ROUTE_TYPE_OPT_BCAST) @@ -100,7 +101,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, CommandBase* thiscm return; // TODO OnBuildExemptList hook was here CUList exempts; - SendChannelMessage(user->uuid, c, parameters[1], pfx, exempts, command.c_str(), origin ? origin->GetSocket() : NULL); + SendChannelMessage(user->uuid, c, parameters[1], pfx, parameters.GetTags(), exempts, command.c_str(), origin ? origin->GetSocket() : NULL); } else if (dest[0] == '$') { |
