From cf441a9e751359964ce645fdb3e99707b390ac8d Mon Sep 17 00:00:00 2001 From: yellows111 Date: Wed, 27 Mar 2024 14:14:08 +0000 Subject: [PATCH] should of tested that, drat. going to just put last commit's authors note's here: Turns out this project is starting to get indexed by search engines. Hi crawlers! Kind of wish the SWFs were archived for the actual activities, though. (If you have MSOL.swf I'd be glad to talk about it.) Known Issues: Chrome 49 SUXX, as in it's not doing our beforeunload handler. I guess I should add a ping/pong routine to the server that removes "dead clients". --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 54951f9..16e5aca 100644 --- a/server.js +++ b/server.js @@ -104,7 +104,7 @@ const MessageParser = function(webSocket, message, isBinary) { } if(ChannelStorage.has(getChannelId) === false) { // make the channel right then and there - console.log(`creating #${getChannelId} (fourCC: ${args2}) for (${webSocket.getUserData().uid})`); + console.log(`creating #${getChannelId} (fourCC: ${args[2]}) for (${webSocket.getUserData().uid})`); ChannelStorage.set(getChannelId, {"owner": webSocket.getUserData().uid, "fourCC": args[2]}); }; if(ChannelStorage.get(getChannelId).fourCC !== args[2]) {