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:
parent
a1826e5c95
commit
cf0c6f19c4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user