ghh stop change name

This commit is contained in:
Lamp 2018-11-27 15:40:26 -08:00 committed by GitHub
parent 07215b480f
commit 52d90fb15d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
});
gClient.on('hi', ()=>{
console.log(`[${site}][${room}] Received greeting`);
if (!testmode || !(site == "MPP" && room == "lobby")) gClient.sendArray([{m: "userset", set: {name: config.mppname}}])
if (!testmode) if (!(site == "MPP" && room == "lobby")) gClient.sendArray([{m: "userset", set: {name: config.mppname}}])
});
gClient.on('disconnect', () => {
if (isConnected) {