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

extra param knocked out scope

This commit is contained in:
reality 2013-06-05 18:19:38 +00:00
parent e03be0f7d6
commit a93b5adbb8

View File

@ -54,7 +54,7 @@ var commands = function(dbot) {
this.api.ban(server, banee, channel); this.api.ban(server, banee, channel);
this.api.kick(server, banee, channel, reason + this.api.kick(server, banee, channel, reason +
' (network-wide ban requested by ' + banner + ')'); ' (network-wide ban requested by ' + banner + ')');
setTimeout(function(channels) { setTimeout(function() {
i++; banChannel(channels); i++; banChannel(channels);
}, 1000); }, 1000);
}.bind(this); }.bind(this);