3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 11:42:36 +01:00

sasl hint

This commit is contained in:
reality 2018-05-28 14:35:11 +00:00
parent a4697e8d36
commit d64375ca50
2 changed files with 6 additions and 2 deletions

View File

@ -59,7 +59,7 @@ var kill_namespam = function(dbot) {
'user': event.user,
'channel': event.channel,
'action': this.config.action
});
}) + ' ' + dbot.t('sasl_hint');
naughty = true;
}
@ -70,7 +70,7 @@ var kill_namespam = function(dbot) {
'channel': event.channel,
'action': this.config.action,
'sensitivity': this.config.sensitivity
});
}) + ' ' + dbot.t('sasl_hint');
naughty = true;
}
@ -85,6 +85,7 @@ var kill_namespam = function(dbot) {
default: break;
}
dbot.api.report.notify('spam', event.server, event.user, event.channel, message, event.host, event.user);
}
} else if (event.action == 'JOIN') {

View File

@ -10,5 +10,8 @@
},
"clikill_spared": {
"en": "{user} spared from clikill matched pattern: /{pattern}/"
},
"sasl_hint": {
"en": "You have been killed by our spam filter. You can avoid broad VPN filters by using SASL."
}
}