also dont advertise on my user

This commit is contained in:
Lamp 2020-04-06 22:22:56 -07:00 committed by GitHub
parent a088abc6c7
commit 09f9e7e6df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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