This commit is contained in:
Lamp 2020-04-30 22:43:08 -07:00 committed by GitHub
parent 2ec0be4b84
commit 2131484c0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
const gClient =
site == "MPP" ? new Client((room.startsWith('lobby')||room.startsWith('test/'))?"ws://24.113.63.154:1234":"ws://530s.gq/mpp-proxy") :
site == "MPP" ? new Client((room.startsWith('lobby')||(room.startsWith('test/')&&room!='test/awkward'))?"ws://24.113.63.154:1234":"ws://530s.gq/mpp-proxy") :
site == "WOPP" ? new Client("wss://piano.ourworldofpixels.com") :
site == "MPT" ? new Client("wss://ts.terrium.net:8443") :
site == "VFDP" ? new Client("ws://www.visualfiredev.com:8080") :
@ -74,7 +74,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
gClient.on('hi', ()=>{
console.log(`[${site}][${room}] Received greeting`);
if (!testmode) {
if (site == "MPP" && (room.startsWith("lobby")||room.startsWith("test/"))) {
if (site == "MPP") {
//gClient.sendArray([{m: "userset", set: {name: "Anonymous" }}]);
} else {
gClient.sendArray([{m: "userset", set: {name: config.mppname }}]);