aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/postcommand.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-09 16:13:04 +0000
committerGravatar Sadie Powell2020-02-09 17:19:31 +0000
commit61070d489478793a6ba2ad0bd2ecc90d14555030 (patch)
tree94f196542ccc3c4cd735730b9e666459a82f574a /src/modules/m_spanningtree/postcommand.cpp
parentMove FindUUID to the UserManager class. (diff)
Move FindNick to UserManager.
Diffstat (limited to 'src/modules/m_spanningtree/postcommand.cpp')
-rw-r--r--src/modules/m_spanningtree/postcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp
index 2960717b7..62ef7e484 100644
--- a/src/modules/m_spanningtree/postcommand.cpp
+++ b/src/modules/m_spanningtree/postcommand.cpp
@@ -116,7 +116,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, CommandBase* thiscm
else
{
// user target?
- User* d = ServerInstance->FindNick(dest);
+ User* d = ServerInstance->Users.Find(dest);
if (!d || IS_LOCAL(d))
return;
TreeServer* tsd = TreeServer::Get(d)->GetRoute();