removed console.log

v1.18.x
Baris Soner Usakli 11 years ago
parent 1b7f8cc5cb
commit feeb220514

@ -131,7 +131,6 @@ Sockets.init = function(server) {
emitOnlineUserCount(); emitOnlineUserCount();
for(var roomName in io.sockets.manager.roomClients[socket.id]) { for(var roomName in io.sockets.manager.roomClients[socket.id]) {
console.log('disconnected from', roomName);
updateRoomBrowsingText(roomName.slice(1)); updateRoomBrowsingText(roomName.slice(1));
} }
}); });
@ -273,7 +272,7 @@ function updateRoomBrowsingText(roomName) {
users = users.filter(function(user) { users = users.filter(function(user) {
return user.status !== 'offline'; return user.status !== 'offline';
}); });
console.log('['+roomName+']', users.length, anonymousCount);
io.sockets.in(roomName).emit('get_users_in_room', { io.sockets.in(roomName).emit('get_users_in_room', {
users: users, users: users,
anonymousCount: anonymousCount, anonymousCount: anonymousCount,

Loading…
Cancel
Save