mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
missing err in readUser on reload ignore repopulation
This commit is contained in:
parent
5551e8545f
commit
402c8e80f4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user