diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 85ca5aa..0707a2d 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -52,7 +52,7 @@ var commands = function(dbot) { this.api.ban(server, banee, channel); this.api.kick(server, banee, channel, reason + ' (network-wide ban requested by ' + banner + ')'); - }, 1000); + }.bind(this), 1000); }, this); var notifyString = dbot.t('nbanned', {