mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Merge pull request #1212 from Slayer95/modjoin
/modjoin now makes rooms private and sets modchat as well
This commit is contained in:
commit
09e8c019af
|
|
@ -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');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user