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/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 05310f202..07c929c9b 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -607,7 +607,7 @@ bool User::ChangeNick(const std::string& newnick, time_t newts) return false; } - User* const InUse = ServerInstance->FindNickOnly(newnick); + User* const InUse = ServerInstance->Users.FindNick(newnick); if (InUse == this) { // case change, don't need to check campers -- cgit v1.3.1-10-gc9f91