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_remove.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_remove.cpp') diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 0d5ac2f5b..891cf4cb9 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -75,7 +75,7 @@ class RemoveBase : public Command if (IS_LOCAL(user)) target = ServerInstance->FindNickOnly(username); else - target = ServerInstance->FindNick(username); + target = ServerInstance->Users.Find(username); /* And the channel we're meant to be removing them from */ channel = ServerInstance->FindChan(channame); -- cgit v1.3.1-10-gc9f91