From 61070d489478793a6ba2ad0bd2ecc90d14555030 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 9 Feb 2020 16:13:04 +0000 Subject: Move FindNick to UserManager. --- src/modules/m_chghost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_chghost.cpp') diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 591028047..91d4fb2cc 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -58,7 +58,7 @@ class CommandChghost : public Command } } - User* dest = ServerInstance->FindNick(parameters[0]); + User* dest = ServerInstance->Users.Find(parameters[0]); // Allow services to change the host of unregistered users if ((!dest) || ((dest->registered != REG_ALL) && (!user->server->IsULine()))) -- cgit v1.3.1-10-gc9f91