AttackProtector: Display a line in the log if someone is not punished because they are immune.
parent
9178963581
commit
9ecd9b475c
|
@ -182,6 +182,8 @@ class AttackProtector(callbacks.Plugin):
|
|||
if capability:
|
||||
if ircdb.checkCapability(msg.prefix,
|
||||
','.join([channel, capability])):
|
||||
self.log.info('Not punishing %s: they are immune.' %
|
||||
prefix)
|
||||
return
|
||||
except KeyError:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue