diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-06 15:24:50 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-06 15:24:50 +0000 |
commit | cd73452f53c331f42c97861546197285b7c3010e (patch) | |
tree | bd75c0cf897a492ccb0e874a945ae1afc98abde5 /src | |
parent | 63b08e012f6ac0fba7b498840ef6fe3c141aed4d (diff) |
Fix oper count, we cant decrement ModeCount('o') from the userrec destructor as its already been removed earlier
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6228 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/helperfuncs.cpp | 2 |
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() |