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

fix unban

This commit is contained in:
reality 2016-05-12 07:39:03 +00:00
parent ed24043a55
commit 485e08ff97

View File

@ -154,7 +154,7 @@ var ignore = function(dbot) {
var nick = event.input[1], var nick = event.input[1],
item = event.input[2]; 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) { this.api.getUserIgnores(user, function(err, ignores) {
if(err || !ignores) { if(err || !ignores) {
event.reply(dbot.t('invalid_unban', { event.reply(dbot.t('invalid_unban', {