3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +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.kick(server, banee, channel, reason +
' (network-wide ban requested by ' + banner + ')');
setTimeout(function(channels) {
setTimeout(function() {
i++; banChannel(channels);
}, 1000);
}.bind(this);