From 9019f9d82b7f99c827f5ae1f547b483cc589f653 Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Fri, 26 Apr 2019 03:51:58 +1000 Subject: [PATCH] =?UTF-8?q?=C2=AF\=5F(=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/wss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wss.js b/plugins/wss.js index a396a4a..90809b5 100644 --- a/plugins/wss.js +++ b/plugins/wss.js @@ -19,7 +19,7 @@ module.exports = { wss.on('connection', function connection(ws) { ws.on('message', function incoming(message) { if (message == "name") - ws.send({ name: dclient.user.username }) + ws.send({ name: "dclient.user.username" }) ws.send(`something ${message}`); });