summaryrefslogtreecommitdiff
path: root/include/usermanager.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-06 01:07:22 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-06 01:07:22 +0200
commitd9d99cd02dadf34bfcc220734ba0c422f0acb3e6 (patch)
tree72a11fab75875b7e4f739ddd203da60e5dcbc851 /include/usermanager.h
parent8a06d54076551387f83a29360478ee6605e241b6 (diff)
parente0ff94b310e9b73ac0131e9df14fb7ca2bf3a878 (diff)
Merge insp20
Diffstat (limited to 'include/usermanager.h')
-rw-r--r--include/usermanager.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/usermanager.h b/include/usermanager.h
index 1ab48925d..f5df25f00 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -31,6 +31,8 @@ class CoreExport UserManager
*/
clonemap local_clones;
public:
+ UserManager();
+
~UserManager()
{
for (user_hash::iterator i = clientlist->begin();i != clientlist->end();i++)
@@ -62,7 +64,11 @@ class CoreExport UserManager
/** Number of unregistered users online right now.
* (Unregistered means before USER/NICK/dns)
*/
- int unregistered_count;
+ unsigned int unregistered_count;
+
+ /** Number of elements in local_users
+ */
+ unsigned int local_count;
/** Map of global ip addresses for clone counting
* XXX - this should be private, but m_clones depends on it currently.