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