diff --git a/run.js b/run.js index 1c9a0d1..1b65e5b 100644 --- a/run.js +++ b/run.js @@ -104,7 +104,7 @@ DBot.prototype.reloadModules = function() { if(this.db.quoteArrs.hasOwnProperty(key)) { var output = this.db.quoteArrs[key].random(); if(output.indexOf("glee") != -1) { - dbot.instance.send('KICK ' + data.channel + ' ' + data.user + ' :glee off dickhead'); + this.instance.send('KICK ' + data.channel + ' ' + data.user + ' :glee off dickhead'); } else { this.say(data.channel, key + ': ' + output); }