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