mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 16:59:15 +02:00
remove
This commit is contained in:
@@ -81,6 +81,8 @@ xrd.on('connection', async (ws, request) => {
|
||||
ws.on('close', () => {
|
||||
currentUsers--;
|
||||
send_xrd_online(initialData.users);
|
||||
|
||||
clients = clients.filter(client => client !== ws);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user