3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

maybe fix

This commit is contained in:
reality 2014-01-10 23:49:33 +00:00
parent 8934ebed1d
commit 4b8363c9d1

View File

@ -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 {