mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 01:07:42 -05:00
client count
This commit is contained in:
@@ -96,7 +96,8 @@ function addSystemClients(req, res, next) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function addTotalClients(req, res, next) {
|
function addTotalClients(req, res, next) {
|
||||||
req.totalClients = clients.length;
|
|
||||||
|
req.totalClients = Object.keys(clients).length;
|
||||||
next();
|
next();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user