diff --git a/modules/ignore/ignore.js b/modules/ignore/ignore.js index 1d9ebbd..c99d63f 100644 --- a/modules/ignore/ignore.js +++ b/modules/ignore/ignore.js @@ -154,7 +154,7 @@ var ignore = function(dbot) { var nick = event.input[1], item = event.input[2]; - dbot.api.users.resolveUser(event.server, nick, function(user) { + dbot.api.users.resolveUser(event.server, nick, function(err, user) { this.api.getUserIgnores(user, function(err, ignores) { if(err || !ignores) { event.reply(dbot.t('invalid_unban', {