aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:18:12 +0000
committerGravatar Sadie Powell2019-02-07 12:18:12 +0000
commit2cc168cfc030497464e0cf30c19260f62670c298 (patch)
treee983613e81bc034fc797d0015630ffafc200f87c /src/modules/m_check.cpp
parentSnomaskManager: remove fakederef. (diff)
downloadinspircd++-2cc168cfc030497464e0cf30c19260f62670c298.tar.gz
inspircd++-2cc168cfc030497464e0cf30c19260f62670c298.tar.bz2
inspircd++-2cc168cfc030497464e0cf30c19260f62670c298.zip
UserManager: remove fakederef.
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp4
1 files changed, 2 insertions, 2 deletions
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))