Update server.js

user list bug fix
pull/15/head
Metin Seylan 8 years ago
parent 4652f6eec0
commit 4200fd3799

@ -54,6 +54,7 @@ io.on('connection', function (client) {
if(index!=-1){
delete users[index];
}
users = users.filter(Boolean)
io.emit('users', users);

Loading…
Cancel
Save