From e80d02ab0b54593299d84c3095d591b0cdd654e0 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 fd84d47..ce28976 100644 --- a/push.cpp +++ b/push.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "time.h" #include @@ -494,7 +495,7 @@ class CPushMod : public CModule */ unsigned int client_count() { - return user->GetUserClients().size(); + return GetNetwork()->GetClients().size(); } /**