]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/utils.h
m_spanningtree Allow multiple valid ips for link blocks as a result of SecurityIPResolver
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / utils.h
index 5aa8e925ec743eac983a1337fbcb0e9e11a551d7..a2f7212f6d0c7c4a65e2e04c419b859a215d1c13 100644 (file)
@@ -118,7 +118,6 @@ class SpanningTreeUtilities : public classbase
 
        /** Send a message from this server to one other local or remote
         */
-       bool DoOneToOne(const CmdBuilder& params, const std::string& target);
        void DoOneToOne(const CmdBuilder& params, Server* target);
 
        /** Send a message from this server to all but one other, local or remote
@@ -135,7 +134,7 @@ class SpanningTreeUtilities : public classbase
 
        /** Handle nick collision
         */
-       bool DoCollision(User* u, TreeServer* server, time_t remotets, const std::string& remoteident, const std::string& remoteip, const std::string& remoteuid);
+       bool DoCollision(User* u, TreeServer* server, time_t remotets, const std::string& remoteident, const std::string& remoteip, const std::string& remoteuid, const char* collidecmd);
 
        /** Compile a list of servers which contain members of channel c
         */
@@ -149,9 +148,10 @@ class SpanningTreeUtilities : public classbase
         */
        TreeServer* FindServerID(const std::string &id);
 
-       /** Find a route to a server by name
+       /** Find a server based on a target string.
+        * @param target Target string where a command should be routed to. May be a server name, a sid, a nickname or a uuid.
         */
-       TreeServer* BestRouteTo(const std::string &ServerName);
+       TreeServer* FindRouteTarget(const std::string& target);
 
        /** Find a server by glob mask
         */