get rid of 'something'

This commit is contained in:
2019-04-26 05:56:23 +10:00
parent 1251f2918c
commit 816d1d3211

View File

@@ -17,7 +17,7 @@ module.exports = {
wss.on('connection', function connection(ws) { wss.on('connection', function connection(ws) {
ws.on('message', function incoming(message) { ws.on('message', function incoming(message) {
if (message == "name") if (message == "name")
ws.send(JSON.stringify( ws.send(stringify(
{ {
type: 'starterpack', type: 'starterpack',
user: { user: {
@@ -46,7 +46,7 @@ module.exports = {
}); });
ws.send('something'); // ws.send('something');
}); });