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(); } /**