diff options
Diffstat (limited to 'src/modules/m_hideoper.cpp')
| -rw-r--r-- | src/modules/m_hideoper.cpp | 4 |
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; |
