summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-05-18 16:03:17 +0200
committerattilamolnar <attilamolnar@hush.com>2013-05-18 16:03:17 +0200
commit67822c67e91e70917ddbdec0bd8453c7170ee06d (patch)
tree4d72b5dcb6cf691313960d723638832e5e49401d /src/usermanager.cpp
parent3f782d5cad84165d695203977c75d2a3877f4644 (diff)
Initialize local_count
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp
index 670add777..076277a33 100644
--- a/src/usermanager.cpp
+++ b/src/usermanager.cpp
@@ -24,6 +24,11 @@
#include "xline.h"
#include "bancache.h"
+UserManager::UserManager()
+ : unregistered_count(0), local_count(0)
+{
+}
+
/* add a client connection to the sockets list */
void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs* client, irc::sockets::sockaddrs* server)
{