Fix bug in locked room.

master
Håvar Aambø Fosstveit 2019-06-25 15:04:41 +02:00
parent 9d385da30b
commit 1c22fd2c56
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}