cleaned up websockets.js

v1.18.x
Baris Usakli 12 years ago
parent eb1c1c78d4
commit 253e11d55b

@ -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) {

Loading…
Cancel
Save