]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/utils.h
m_spanningtree: Ensure tags are sent in forwarded cmds
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / utils.h
index 495b0941401fe4c1a869e4354adc68d3029f05c4..c6f5822fe715cd7a97de1eb5ddbe5285014c2f96 100644 (file)
@@ -57,6 +57,11 @@ class SpanningTreeUtilities : public classbase
        /** Flatten links and /MAP for non-opers
         */
        bool FlatLinks;
+
+       /** True if we're going to hide netsplits as *.net *.split for non-opers
+        */
+       bool HideSplits;
+
        /** Hide U-Lined servers in /MAP and /LINKS
         */
        bool HideULines;
@@ -167,7 +172,7 @@ class SpanningTreeUtilities : public classbase
 
        /** Sends a PRIVMSG or a NOTICE to a channel obeying an exempt list and an optional prefix
         */
-       void SendChannelMessage(const std::string& prefix, Channel* target, const std::string& text, char status, const CUList& exempt_list, const char* message_type, TreeSocket* omit = NULL);
+       void SendChannelMessage(const std::string& prefix, Channel* target, const std::string& text, char status, const ClientProtocol::TagMap& tags, const CUList& exempt_list, const char* message_type, TreeSocket* omit = NULL);
 };
 
 inline void SpanningTreeUtilities::DoOneToMany(const CmdBuilder& params)