]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/utils.h
Allow Channel::WriteNotice send to other servers and status ranks.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / utils.h
index 3d34b93a6add6e6941cc0737fc7cfa965074d95b..bb189cb5ea15bbae40bf5e034cda9098eaf808fd 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;
@@ -114,7 +119,7 @@ class SpanningTreeUtilities : public classbase
         */
        ~SpanningTreeUtilities();
 
-       void RouteCommand(TreeServer* origin, CommandBase* cmd, const parameterlist& parameters, User* user);
+       void RouteCommand(TreeServer* origin, CommandBase* cmd, const CommandBase::Params& parameters, User* user);
 
        /** Send a message from this server to one other local or remote
         */
@@ -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(User* source, 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)