client: fix an issue not clearing userlist on exit
This commit is contained in:
parent
a5db3c94c7
commit
aaa0782103
@ -230,7 +230,7 @@ var userlist = {
|
|||||||
var userlist = userlists[i];
|
var userlist = userlists[i];
|
||||||
|
|
||||||
var users = userlist.children;
|
var users = userlist.children;
|
||||||
for (var j = 0; j < users.length; j++) {
|
for (var j = users.length; j --> 0;) {
|
||||||
userlist.removeChild(users[j]);
|
userlist.removeChild(users[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user