]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/utils.h
m_spanningtree Add SpanningTreeUtilities::FindRouteTarget()
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / utils.h
index 6d0d094e708fcaae6b9483ea748eae146969d7ed..a2f7212f6d0c7c4a65e2e04c419b859a215d1c13 100644 (file)
@@ -148,6 +148,11 @@ class SpanningTreeUtilities : public classbase
         */
        TreeServer* FindServerID(const std::string &id);
 
+       /** 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* FindRouteTarget(const std::string& target);
+
        /** Find a server by glob mask
         */
        TreeServer* FindServerMask(const std::string &ServerName);