mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
sasl hint
This commit is contained in:
parent
a4697e8d36
commit
d64375ca50
@ -59,7 +59,7 @@ var kill_namespam = function(dbot) {
|
|||||||
'user': event.user,
|
'user': event.user,
|
||||||
'channel': event.channel,
|
'channel': event.channel,
|
||||||
'action': this.config.action
|
'action': this.config.action
|
||||||
});
|
}) + ' ' + dbot.t('sasl_hint');
|
||||||
naughty = true;
|
naughty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ var kill_namespam = function(dbot) {
|
|||||||
'channel': event.channel,
|
'channel': event.channel,
|
||||||
'action': this.config.action,
|
'action': this.config.action,
|
||||||
'sensitivity': this.config.sensitivity
|
'sensitivity': this.config.sensitivity
|
||||||
});
|
}) + ' ' + dbot.t('sasl_hint');
|
||||||
naughty = true;
|
naughty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,6 +85,7 @@ var kill_namespam = function(dbot) {
|
|||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dbot.api.report.notify('spam', event.server, event.user, event.channel, message, event.host, event.user);
|
dbot.api.report.notify('spam', event.server, event.user, event.channel, message, event.host, event.user);
|
||||||
}
|
}
|
||||||
} else if (event.action == 'JOIN') {
|
} else if (event.action == 'JOIN') {
|
||||||
|
@ -10,5 +10,8 @@
|
|||||||
},
|
},
|
||||||
"clikill_spared": {
|
"clikill_spared": {
|
||||||
"en": "{user} spared from clikill matched pattern: /{pattern}/"
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user