diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-29 16:17:37 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-29 16:17:37 +0200 |
commit | c0514526561e5fde6db765e294c19e0aaee15e1e (patch) | |
tree | 6f7031cee8f956a15f2749628c5f166830058cc4 /src/modules/m_spanningtree/svsjoin.cpp | |
parent | 5d3b755cab8e436bf7ffebaa051cde9d6e2a0997 (diff) | |
parent | 4aed5846f17b15939aaf620ee4c4ca95a10609fc (diff) |
Merge branch 'master+stroute'
Diffstat (limited to 'src/modules/m_spanningtree/svsjoin.cpp')
-rw-r--r-- | src/modules/m_spanningtree/svsjoin.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/svsjoin.cpp b/src/modules/m_spanningtree/svsjoin.cpp index 98443409a..c85e4f412 100644 --- a/src/modules/m_spanningtree/svsjoin.cpp +++ b/src/modules/m_spanningtree/svsjoin.cpp @@ -54,8 +54,5 @@ CmdResult CommandSVSJoin::Handle(User* user, std::vector<std::string>& parameter RouteDescriptor CommandSVSJoin::GetRouting(User* user, const std::vector<std::string>& parameters) { - User* u = ServerInstance->FindUUID(parameters[0]); - if (u) - return ROUTE_OPT_UCAST(u->server); - return ROUTE_LOCALONLY; + return ROUTE_OPT_UCAST(parameters[0]); } |