summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/svspart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/svspart.cpp')
-rw-r--r--src/modules/m_spanningtree/svspart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/svspart.cpp b/src/modules/m_spanningtree/svspart.cpp
index 35bce781d..3bdf13b25 100644
--- a/src/modules/m_spanningtree/svspart.cpp
+++ b/src/modules/m_spanningtree/svspart.cpp
@@ -48,7 +48,7 @@ CmdResult CommandSVSPart::Handle(const std::vector<std::string>& parameters, Use
RouteDescriptor CommandSVSPart::GetRouting(User* user, const std::vector<std::string>& parameters)
{
- User* u = ServerInstance->FindNick(parameters[0]);
+ User* u = ServerInstance->FindUUID(parameters[0]);
if (u)
return ROUTE_OPT_UCAST(u->server);
return ROUTE_LOCALONLY;