some minor linting elsewhere

This commit is contained in:
psychobunny
2014-10-04 18:56:33 -04:00
parent 31b2faf2c5
commit 2a2490541f
5 changed files with 17 additions and 9 deletions

View File

@@ -113,7 +113,7 @@ SocketMeta.rooms.getAll = function(socket, data, callback) {
scores[length] = [tid[1]];
}
} else if (room.match(/^\/category/)) {
socketData.users.category += rooms[room].length
socketData.users.category += rooms[room].length;
}
}
}
@@ -132,7 +132,7 @@ SocketMeta.rooms.getAll = function(socket, data, callback) {
socketData.topics[tid] = {
value: rooms['/topic_' + tid].length,
title: validator.escape(titles[id].title)
}
};
});
callback(null, socketData);