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]) {