Merge pull request #1212 from Slayer95/modjoin

/modjoin now makes rooms private and sets modchat as well
This commit is contained in:
Guangcong Luo 2014-09-15 23:28:35 -05:00
commit 09e8c019af

View File

@ -205,6 +205,8 @@ var commands = exports.commands = {
room.chatRoomData.modjoin = true;
Rooms.global.writeChatRoomData();
}
if (!room.modchat) this.parse('/modchat ' + Config.groupsranking[1]);
if (!room.isPrivate) this.parse('/privateroom');
}
},