3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

missing err in readUser on reload ignore repopulation

This commit is contained in:
reality 2014-09-08 21:08:28 +00:00
parent 5551e8545f
commit 402c8e80f4

View File

@ -273,7 +273,7 @@ var ignore = function(dbot) {
dbot.instance.clearIgnores();
this.db.scan('ignores', function(ignores) {
dbot.api.users.getUser(ignores.id, function(user) {
dbot.api.users.getUser(ignores.id, function(err, user) {
if(user) {
_.each(ignores.ignores, function(module) {
dbot.instance.ignoreTag(user.currentNick, module);