3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

fix missing sstats binds

This commit is contained in:
reality 2013-10-22 14:35:37 +00:00
parent 903427e1ef
commit 2bd9b081f5

View File

@ -186,8 +186,8 @@ var sstats = function(dbot) {
});
this.db.del('user_stats', oldUser.id, function() {});
this.db.save('user_stats', newUser.id, function() {});
});
});
}.bind(this));
}.bind(this));
this.db.scan('tracked_words', function(tWord) {
if(_.has(tWord.users, oldUser.id)) {
@ -199,7 +199,7 @@ var sstats = function(dbot) {
delete tWord.users[oldUser.id];
this.db.save('tracked_words', tWord.word, tWord, function() {});
}
});
}.bind(this));
}.bind(this));
}.bind(this);
};