summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-29 16:17:37 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-03-29 16:17:37 +0200
commitc0514526561e5fde6db765e294c19e0aaee15e1e (patch)
tree6f7031cee8f956a15f2749628c5f166830058cc4 /src/modules/m_spanningtree/utils.h
parent5d3b755cab8e436bf7ffebaa051cde9d6e2a0997 (diff)
parent4aed5846f17b15939aaf620ee4c4ca95a10609fc (diff)
Merge branch 'master+stroute'
Diffstat (limited to 'src/modules/m_spanningtree/utils.h')
-rw-r--r--src/modules/m_spanningtree/utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h
index 84637bf01..a2f7212f6 100644
--- a/src/modules/m_spanningtree/utils.h
+++ b/src/modules/m_spanningtree/utils.h
@@ -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
@@ -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
*/