summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-18 18:39:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-18 18:39:41 +0000
commit011c4b9b0757af93c1d72e6d2896ddb2b7578d10 (patch)
tree3498aa9e06596b98aba64be41623664f5781159f /src
parente80337c204adbe3ff4b38eafed777ba2f8bac6fb (diff)
Then, realize you got your subtraction back to front.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6044 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index d96c068ed..b09cec015 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -312,7 +312,7 @@ int InspIRCd::UserCount()
int InspIRCd::RegisteredUserCount()
{
int c = 0;
- return this->UnregisteredUserCount() - clientlist.size();
+ return clientlist.size() - this->UnregisteredUserCount();
}
int InspIRCd::InvisibleUserCount()