3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

antispam: use kick+ban as default punishment

This commit is contained in:
James Lu 2018-04-13 22:18:41 -07:00
parent 3e07239db4
commit 47052a3bba

View File

@ -40,7 +40,7 @@ def _punish(irc, target, channel, reason):
my_uid = sbot.uids.get(irc.name) my_uid = sbot.uids.get(irc.name)
punishment = irc.get_service_option('antispam', 'punishment', punishment = irc.get_service_option('antispam', 'punishment',
'ban+kill').lower() 'kick+ban').lower()
bans = set() bans = set()
log.debug('(%s) antispam: got %r as punishment for %s/%s', irc.name, punishment, log.debug('(%s) antispam: got %r as punishment for %s/%s', irc.name, punishment,
target, irc.get_friendly_name(target)) target, irc.get_friendly_name(target))