run standard 1.12 --fix

This commit is contained in:
Romain Beaumont 2018-09-25 23:09:37 +02:00
parent 6988345f98
commit b1ba01ed3c
No known key found for this signature in database
GPG key ID: DB60E388B3BCF286

View file

@ -27,7 +27,7 @@ client.on('chat', function (packet) {
const username = jsonMsg.with[0].text
const msg = jsonMsg.with[1]
if (username === client.username) return
if (msg.text) client.write('chat', { message: msg.text})
else client.write('chat', { message: msg})
if (msg.text) client.write('chat', { message: msg.text })
else client.write('chat', { message: msg })
}
})