aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/core/stats.js
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2019-11-07 18:46:55 +0100
committermarzavec <admin@marzavec.com>2019-11-07 18:46:55 +0100
commitf34ee18c301322ea02009efcc10ce86d350c68d0 (patch)
tree71a5b12a873f7c76e5dff03371349008ae826d8e /server/src/commands/core/stats.js
parentUpdate DEPLOY.md (diff)
downloadhackchat-f34ee18c301322ea02009efcc10ce86d350c68d0.tar.gz
hackchat-f34ee18c301322ea02009efcc10ce86d350c68d0.zip
Minor bug fixes
Diffstat (limited to 'server/src/commands/core/stats.js')
-rw-r--r--server/src/commands/core/stats.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/core/stats.js b/server/src/commands/core/stats.js
index 8badd5b..421aec2 100644
--- a/server/src/commands/core/stats.js
+++ b/server/src/commands/core/stats.js
@@ -8,7 +8,7 @@ export async function run(core, server, socket) {
let ips = {};
let channels = {};
// for (const client of server.clients) {
- this.clients.forEach((client) => {
+ server.clients.forEach((client) => {
if (client.channel) {
channels[client.channel] = true;
ips[client.address] = true;