diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 7fa1e75..29df25f 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -54,7 +54,7 @@ var commands = function(dbot) { this.api.ban(server, banee, channel); this.api.kick(server, banee, channel, reason + ' (network-wide ban requested by ' + banner + ')'); - setTimeout(function(channels) { + setTimeout(function() { i++; banChannel(channels); }, 1000); }.bind(this);