Fix bug in locked room.
parent
9d385da30b
commit
1c22fd2c56
|
|
@ -165,7 +165,7 @@ class Room extends EventEmitter
|
||||||
}
|
}
|
||||||
else if (this._locked) // Don't allow connections to a locked room
|
else if (this._locked) // Don't allow connections to a locked room
|
||||||
{
|
{
|
||||||
notification(socket, 'roomLocked');
|
this._notification(socket, 'roomLocked');
|
||||||
socket.disconnect(true);
|
socket.disconnect(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue