From 12aedd0f68c7559a4f2eef3b304245f7fb0268dc Mon Sep 17 00:00:00 2001 From: Daniel Wallace Date: Fri, 31 Aug 2012 01:09:56 -0400 Subject: [PATCH] Get the number of clients on the network using the size of GetUserClients wasn't working for me --- push.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/push.cpp b/push.cpp index 3f93c90..e155fbb 100644 --- a/push.cpp +++ b/push.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "time.h" #include @@ -445,7 +446,7 @@ class CPushMod : public CModule */ unsigned int client_count() { - return user->GetUserClients().size(); + return GetNetwork()->GetClients().size(); } /**