3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

hopefully fix mergeusers for the last time

This commit is contained in:
reality 2013-10-24 16:00:15 +00:00
parent a1826e5c95
commit cf0c6f19c4

View File

@ -179,7 +179,9 @@ var sstats = function(dbot) {
if(key != 'creation' && key != 'id') { if(key != 'creation' && key != 'id') {
if(_.isObject(stat)) { if(_.isObject(stat)) {
_.each(ouStats[key], function(stat, sKey) { _.each(ouStats[key], function(stat, sKey) {
nuStats[key][sKey] += stat; _.each(ouStats[key][sKey], function(stat, ssKey) {
nuStats[key][sKey][ssKey] += stat;
});
}); });
} else { } else {
nuStats[key] += stat; nuStats[key] += stat;