diff --git a/bouncer.js b/bouncer.js index 0a5e0e9..ba484ef 100644 --- a/bouncer.js +++ b/bouncer.js @@ -79,7 +79,7 @@ module.exports = (ws, req, onClose) => { } if (!ws.relays.size && !sessStarted) { - console.log(process.pid, `>>>`, `${ws.ip} executed ${data[1]} command for the first. Initializing session`); + console.log(process.pid, `>>>`, `${ws.ip} executed ${data[0]} command for the first. Initializing session`); newsess(ws); sessStarted = true; } @@ -116,7 +116,7 @@ module.exports = (ws, req, onClose) => { } if (!ws.relays.size && !sessStarted) { - console.log(process.pid, `>>>`, `${ws.ip} executed ${data[1]} command for the first. Initializing session`); + console.log(process.pid, `>>>`, `${ws.ip} executed ${data[0]} command for the first. Initializing session`); newsess(ws); sessStarted = true; }