mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
maybe fix
This commit is contained in:
parent
8934ebed1d
commit
4b8363c9d1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user