From 39d743b77c6019f98bddccfc5669708291a15b2b Mon Sep 17 00:00:00 2001 From: deardrops Date: Mon, 29 May 2017 10:09:37 +0800 Subject: [PATCH] limit rename room by same name --- RoomManager.js | 2 +- webxoss-client | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RoomManager.js b/RoomManager.js index 61062ea..95e9659 100644 --- a/RoomManager.js +++ b/RoomManager.js @@ -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(); diff --git a/webxoss-client b/webxoss-client index 36727dd..05f5058 160000 --- a/webxoss-client +++ b/webxoss-client @@ -1 +1 @@ -Subproject commit 36727dd62e19545ca9a0abcc25124e7858c788aa +Subproject commit 05f50588feefab6b79887bab0fd473a1063e22b4