From 816d1d3211283cdfb48160a17e7dc7301f0e67da Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Fri, 26 Apr 2019 05:56:23 +1000 Subject: [PATCH] get rid of 'something' --- plugins/wss.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/wss.js b/plugins/wss.js index 8748d24..6892125 100644 --- a/plugins/wss.js +++ b/plugins/wss.js @@ -17,7 +17,7 @@ module.exports = { wss.on('connection', function connection(ws) { ws.on('message', function incoming(message) { if (message == "name") - ws.send(JSON.stringify( + ws.send(stringify( { type: 'starterpack', user: { @@ -46,7 +46,7 @@ module.exports = { }); - ws.send('something'); + // ws.send('something'); });