forked from mirrors/webxoss-core
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
room.name = newRoomName;
|
room.name = newRoomName; // update client.room.name
|
||||||
renameProperty(this.roomMap, oldRoomName, newRoomName);
|
renameProperty(this.roomMap, oldRoomName, newRoomName);
|
||||||
room.update();
|
room.update();
|
||||||
this.updateRoomList();
|
this.updateRoomList();
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 36727dd62e19545ca9a0abcc25124e7858c788aa
|
Subproject commit 05f50588feefab6b79887bab0fd473a1063e22b4
|
Loading…
Reference in a new issue