forked from GitHub/dbot
fix merge?
This commit is contained in:
parent
01b2d22059
commit
7ca178fced
@ -180,7 +180,9 @@ var sstats = function(dbot) {
|
|||||||
if(_.isObject(stat)) {
|
if(_.isObject(stat)) {
|
||||||
_.each(ouStats[key], function(stat, sKey) {
|
_.each(ouStats[key], function(stat, sKey) {
|
||||||
_.each(ouStats[key][sKey], function(stat, ssKey) {
|
_.each(ouStats[key][sKey], function(stat, ssKey) {
|
||||||
|
if(_.has(nuStats[key][sKey], ssKey)) {
|
||||||
nuStats[key][sKey][ssKey] += stat;
|
nuStats[key][sKey][ssKey] += stat;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user