From 2cc168cfc030497464e0cf30c19260f62670c298 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Feb 2019 12:18:12 +0000 Subject: UserManager: remove fakederef. --- src/modules/m_check.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index bcbffc789..ae459c6df 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -263,7 +263,7 @@ class CommandCheck : public Command /* * Unlike Asuka, I define a clone as coming from the same host. --w00t */ - const UserManager::CloneCounts& clonecount = ServerInstance->Users->GetCloneCounts(i->first); + const UserManager::CloneCounts& clonecount = ServerInstance->Users.GetCloneCounts(i->first); context.Write("member", InspIRCd::Format("%u %s%s (%s)", clonecount.global, i->second->GetAllPrefixChars().c_str(), i->first->GetFullHost().c_str(), i->first->GetRealName().c_str())); @@ -281,7 +281,7 @@ class CommandCheck : public Command long x = 0; /* hostname or other */ - const user_hash& users = ServerInstance->Users->GetUsers(); + const user_hash& users = ServerInstance->Users.GetUsers(); for (user_hash::const_iterator a = users.begin(); a != users.end(); ++a) { if (InspIRCd::Match(a->second->GetRealHost(), parameters[0], ascii_case_insensitive_map) || InspIRCd::Match(a->second->GetDisplayedHost(), parameters[0], ascii_case_insensitive_map)) -- cgit v1.3.1-10-gc9f91