summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-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()