mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Owner: Being ignored for commands flood is now restricted to non-trusted users (instead of non-owners). Closes GH-13.
This commit is contained in:
parent
9d5365248e
commit
1c07963a90
@ -252,7 +252,7 @@ class Owner(callbacks.Plugin):
|
||||
self.commands.enqueue(msg)
|
||||
if conf.supybot.abuse.flood.command() \
|
||||
and self.commands.len(msg) > maximum \
|
||||
and not ircdb.checkCapability(msg.prefix, 'owner'):
|
||||
and not ircdb.checkCapability(msg.prefix, 'trusted'):
|
||||
punishment = conf.supybot.abuse.flood.command.punishment()
|
||||
banmask = ircutils.banmask(msg.prefix)
|
||||
self.log.info('Ignoring %s for %s seconds due to an apparent '
|
||||
|
Loading…
Reference in New Issue
Block a user