From cd73452f53c331f42c97861546197285b7c3010e Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 6 Jan 2007 15:24:50 +0000 Subject: 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 --- src/helperfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() -- cgit v1.2.3