1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

hotfix for tunnel

This commit is contained in:
NoobishSVK
2024-09-26 15:46:16 +02:00
parent 431dc7cedf
commit f295f18e8f
3 changed files with 2 additions and 3 deletions

View File

@@ -79,7 +79,6 @@ function resolveDataBuffer(data, wss, rdsWss) {
function kickClient(ipAddress) {
// Find the entry in connectedClients associated with the provided IP address
const targetClient = storage.connectedUsers.find(client => client.ip === ipAddress);
console.log(storage.connectedUsers);
if (targetClient && targetClient.instance) {
// Send a termination message to the client
targetClient.instance.send('KICK');