From a93b5adbb85e1ba04acb28444b5eed7a1477204e Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 5 Jun 2013 18:19:38 +0000 Subject: [PATCH] extra param knocked out scope --- modules/kick/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);