mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +01:00
antispam: use kick+ban as default punishment
This commit is contained in:
parent
3e07239db4
commit
47052a3bba
@ -40,7 +40,7 @@ def _punish(irc, target, channel, reason):
|
||||
my_uid = sbot.uids.get(irc.name)
|
||||
|
||||
punishment = irc.get_service_option('antispam', 'punishment',
|
||||
'ban+kill').lower()
|
||||
'kick+ban').lower()
|
||||
bans = set()
|
||||
log.debug('(%s) antispam: got %r as punishment for %s/%s', irc.name, punishment,
|
||||
target, irc.get_friendly_name(target))
|
||||
|
Loading…
Reference in New Issue
Block a user