aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_hideoper.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_hideoper.cpp
parentSnomaskManager: remove fakederef. (diff)
UserManager: remove fakederef.
Diffstat (limited to 'src/modules/m_hideoper.cpp')
-rw-r--r--src/modules/m_hideoper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp
index 791a3060c..792389843 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -88,7 +88,7 @@ class ModuleHideOper
return MOD_RES_PASSTHRU;
// If there are no visible operators then we shouldn't send the numeric.
- size_t opercount = ServerInstance->Users->all_opers.size() - hm.opercount;
+ size_t opercount = ServerInstance->Users.all_opers.size() - hm.opercount;
if (opercount)
{
active = true;
@@ -159,7 +159,7 @@ class ModuleHideOper
return MOD_RES_PASSTHRU;
unsigned int count = 0;
- const UserManager::OperList& opers = ServerInstance->Users->all_opers;
+ const UserManager::OperList& opers = ServerInstance->Users.all_opers;
for (UserManager::OperList::const_iterator i = opers.begin(); i != opers.end(); ++i)
{
User* oper = *i;