mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +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)
|
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))
|
||||||
|
Loading…
Reference in New Issue
Block a user