From b5bb0af0da82726c3b52b56db7900714e768fd0d Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 29 Jan 2015 23:59:55 +0000 Subject: [PATCH] idk --- modules/kick/commands.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/kick/commands.js b/modules/kick/commands.js index a0dc38b..0188d2c 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -28,9 +28,7 @@ var commands = function(dbot) { } else { this.api.unquiet(server, this.hosts[server][quietee], channel); } - if(vStatus === true) { - this.api.voice(server, quietee, channel); - } + this.api.voice(server, quietee, channel); dbot.api.users.resolveUser(server, dbot.config.name, function(err, user) { dbot.api.report.notify('unquiet', server, user, channel, @@ -63,9 +61,7 @@ var commands = function(dbot) { })); } - if(dbot.instance.connections[server].channels[channel].nicks[quietee].voice === true) { - this.api.devoice(server, quietee, channel); - } + this.api.devoice(server, quietee, channel); if(_.include(this.config.quietBans, channel)) { this.api.ban(server, this.hosts[server][quietee], channel);