aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sockets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockets.js b/lib/sockets.js
index 3ebf86d7..d7973a99 100644
--- a/lib/sockets.js
+++ b/lib/sockets.js
@@ -4,7 +4,7 @@ const Sequelize = require("sequelize");
/* eslint-disable-next-line */
const pick = (O, ...K) => K.reduce((o, k) => ((o[k] = O[k]), o), {});
-const sids = {};
+sids = {};
socket = io(server, { origins: "*:*" });
emit = (username, msg, data) => {