From 4b8363c9d13ec616cf0899effd09a3a6767ed2d0 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 10 Jan 2014 23:49:33 +0000 Subject: [PATCH] maybe fix --- modules/kick/kick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kick/kick.js b/modules/kick/kick.js index caea0f3..66bdc0b 100644 --- a/modules/kick/kick.js +++ b/modules/kick/kick.js @@ -94,7 +94,7 @@ var kick = function(dbot) { this.listener = function(event) { if(event.kickee == dbot.config.name) { - dbot.instance.join(event, event.channel); + dbot.instance.join(event, event.channel.name); event.reply(dbot.t('kicked_dbot', { 'botname': dbot.config.name })); dbot.db.kicks[dbot.config.name] += 1; } else {