Skip to content

Node.js based forum software built for the modern web

oops

akhoury2733198f9eca
diff --git a/src/websockets.js b/src/websockets.js
index a9339862ac..5ab754f222 100644
--- a/src/websockets.js
+++ b/src/websockets.js
@@ -60,7 +60,7 @@ function isUserOnline(uid) {
}
websockets.isUserOnline = isUserOnline;
-websockets.exports.init = function(io) {
+websockets.init = function(io) {
io.sockets.on('connection', function(socket) {
var hs = socket.handshake,