mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Fixed a huge problem with the sessioninfos array
This commit is contained in:
parent
a5a9592031
commit
9eac04aaa6
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ exports.handleDisconnect = function(client)
|
||||||
{
|
{
|
||||||
if(pad2sessions[sessionPad][i] == client.id)
|
if(pad2sessions[sessionPad][i] == client.id)
|
||||||
{
|
{
|
||||||
delete pad2sessions[sessionPad][i];
|
pad2sessions[sessionPad].splice(i, 1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue