3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39: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(_.isObject(stat)) {
_.each(ouStats[key], function(stat, sKey) {
nuStats[key][sKey] += stat;
_.each(ouStats[key][sKey], function(stat, ssKey) {
nuStats[key][sKey][ssKey] += stat;
});
});
} else {
nuStats[key] += stat;