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_shun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_shun.cpp') diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 6a15fb488..7b87232b7 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -74,7 +74,7 @@ class CommandShun : public Command std::string target = parameters[0]; - User *find = ServerInstance->FindNick(target); + User *find = ServerInstance->Users.Find(target); if ((find) && (find->registered == REG_ALL)) target = std::string("*!*@") + find->GetIPString(); -- cgit v1.3.1-10-gc9f91