]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/helperfuncs.cpp
*slaps self* for not test compiling
[user/henk/code/inspircd.git] / src / helperfuncs.cpp
index 5662c691419980b10801fbd0c966b8d1c56c203f..37a9e1b0417e42321e113906b1a761472495018b 100644 (file)
@@ -325,7 +325,7 @@ int InspIRCd::InvisibleUserCount()
 
 int InspIRCd::OperCount()
 {
-       return ModeCount('o');
+       return this->all_opers.size();
 }
 
 int InspIRCd::UnregisteredUserCount()