From 84eb33d4c3332030527039ddb3d9292a5076f381 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 9 Feb 2020 17:09:53 +0000 Subject: Move FindNickOnly 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 891cf4cb9..33d908cd2 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -73,7 +73,7 @@ class RemoveBase : public Command /* Look up the user we're meant to be removing from the channel */ if (IS_LOCAL(user)) - target = ServerInstance->FindNickOnly(username); + target = ServerInstance->Users.FindNick(username); else target = ServerInstance->Users.Find(username); -- cgit v1.3.1-10-gc9f91