mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +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) {
|
this.listener = function(event) {
|
||||||
if(event.kickee == dbot.config.name) {
|
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 }));
|
event.reply(dbot.t('kicked_dbot', { 'botname': dbot.config.name }));
|
||||||
dbot.db.kicks[dbot.config.name] += 1;
|
dbot.db.kicks[dbot.config.name] += 1;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user