From 61f7a4d01e79828ddf8ca392afff6009d8354b67 Mon Sep 17 00:00:00 2001 From: NoobishSVK Date: Sun, 28 Jan 2024 22:15:22 +0100 Subject: [PATCH] online users fix --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 06db017..e413d8a 100644 --- a/index.js +++ b/index.js @@ -42,6 +42,7 @@ commandExists('ffmpeg') wss.on('connection', (ws, request) => { const clientIp = request.connection.remoteAddress; currentUsers++; + dataHandler.showOnlineUsers(currentUsers); // Use ipinfo.io API to get geolocation information https.get(`https://ipinfo.io/${clientIp}/json`, (response) => {