From ed0da89c7d98195294ced6d71812183a04e24c76 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 15 Jun 2020 13:37:38 -0700 Subject: move client version, update example config and schema --- lib/sockets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/sockets.js b/lib/sockets.js index 07af88d8..4b733882 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -77,7 +77,7 @@ wss.on("connection", function(ws, req) { ws.user = user; ws.send(JSON.stringify({ type: "login", data: user })); - ws.send(JSON.stringify({ type: "version", data: clientVersion })); + ws.send(JSON.stringify({ type: "version", data: config.clientVersion })); l.info("socket open", username, id); } catch (e) { ws.close(); -- cgit v1.2.3