From 253e11d55b9fdecb6b3c324fc78441eb260f3950 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Tue, 24 Sep 2013 16:02:14 -0400 Subject: [PATCH] cleaned up websockets.js --- src/websockets.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/websockets.js b/src/websockets.js index 982bfaa8cb..27cdb0ef8a 100644 --- a/src/websockets.js +++ b/src/websockets.js @@ -29,11 +29,10 @@ var cookie = require('cookie'), plugins = require('./plugins'), winston = require('winston'); -//(function(io) { - var users = {}, - userSockets = {}, - rooms = {}; +var users = {}, + userSockets = {}, + rooms = {}; module.exports.logoutUser = function(uid) { if(userSockets[uid] && userSockets[uid].length) {