summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-02 17:31:31 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-02 20:28:46 +0000
commitaafc03bdfc34c9426df44938403c92dbbbc0568e (patch)
tree9213bee0804ad12bfdb75972597a4fce0420b63f /src/modules/m_spanningtree/treesocket.h
parent93390f6ccbeeb5198217ef31a205c57e51d2dc18 (diff)
Fix message tags not being broadcast across the network.
Diffstat (limited to 'src/modules/m_spanningtree/treesocket.h')
-rw-r--r--src/modules/m_spanningtree/treesocket.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h
index 36dd8bb93..878b34ad7 100644
--- a/src/modules/m_spanningtree/treesocket.h
+++ b/src/modules/m_spanningtree/treesocket.h
@@ -294,13 +294,17 @@ class TreeSocket : public BufferedSocket
/** Handle IRC line split
*/
- void Split(const std::string &line, std::string& prefix, std::string& command, CommandBase::Params& params);
+ void Split(const std::string& line, std::string& tags, std::string& prefix, std::string& command, CommandBase::Params& params);
/** Process complete line from buffer
*/
void ProcessLine(std::string &line);
- void ProcessConnectedLine(std::string& prefix, std::string& command, CommandBase::Params& params);
+ /** Process message tags received from a remote server. */
+ void ProcessTag(User* source, const std::string& tag, ClientProtocol::TagMap& tags);
+
+ /** Process a message for a fully connected server. */
+ void ProcessConnectedLine(std::string& tags, std::string& prefix, std::string& command, CommandBase::Params& params);
/** Handle socket timeout from connect()
*/