summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 5662c6914..fd69a9a49 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -325,7 +325,7 @@ int InspIRCd::InvisibleUserCount()
int InspIRCd::OperCount()
{
- return ModeCount('o');
+ return this->all_opers.count();
}
int InspIRCd::UnregisteredUserCount()