aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-12-28 19:02:04 +0100
committerGravatar Sadie Powell2019-12-29 17:13:18 +0100
commit6087e877f3a997f90e79e8ee41ea5d92b3762af5 (patch)
tree2b49968e51d22031f3120d8b43a26295a092ae8f /include
parentMove CountInvisible into the LusersCounter constructor. (diff)
Get rid of UserManager#OperCount and UserManager#UserCount.
OperCount was only used in one place, UserCount is used nowhere, and both just a wrapper around data which is accessible by other means.
Diffstat (limited to 'include')
-rw-r--r--include/usermanager.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/usermanager.h b/include/usermanager.h
index bda30d1b1..13fa905ee 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -142,21 +142,11 @@ class CoreExport UserManager
*/
const CloneMap& GetCloneMap() const { return clonemap; }
- /** Return a count of all global users, unknown and known connections
- * @return The number of users on the network, including local unregistered users
- */
- unsigned int UserCount() const { return this->clientlist.size(); }
-
/** Return a count of fully registered connections on the network
* @return The number of registered users on the network
*/
unsigned int RegisteredUserCount() { return this->clientlist.size() - this->UnregisteredUserCount(); }
- /** Return a count of opered (umode +o) users on the network
- * @return The number of opers on the network
- */
- unsigned int OperCount() const { return this->all_opers.size(); }
-
/** Return a count of local unregistered (before NICK/USER) users
* @return The number of local unregistered (unknown) connections
*/