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_dccallow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 84189947e..915801386 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -226,7 +226,7 @@ class CommandDccallow : public Command } std::string nick(parameters[0], 1); - User *target = ServerInstance->FindNickOnly(nick); + User *target = ServerInstance->Users.FindNick(nick); if ((target) && (!target->quitting) && (target->registered == REG_ALL)) { -- cgit v1.3.1-10-gc9f91