mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
limit rename room by same name
This commit is contained in:
parent
37782768f7
commit
39d743b77c
2 changed files with 2 additions and 2 deletions
|
@ -245,7 +245,7 @@ RoomManager.prototype.renameRoom = function (client,cfg) {
|
|||
return;
|
||||
}
|
||||
|
||||
room.name = newRoomName;
|
||||
room.name = newRoomName; // update client.room.name
|
||||
renameProperty(this.roomMap, oldRoomName, newRoomName);
|
||||
room.update();
|
||||
this.updateRoomList();
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 36727dd62e19545ca9a0abcc25124e7858c788aa
|
||||
Subproject commit 05f50588feefab6b79887bab0fd473a1063e22b4
|
Loading…
Reference in a new issue