Fix bug in locked room.
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ class Room extends EventEmitter
|
||||
}
|
||||
else if (this._locked) // Don't allow connections to a locked room
|
||||
{
|
||||
notification(socket, 'roomLocked');
|
||||
this._notification(socket, 'roomLocked');
|
||||
socket.disconnect(true);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user