diff --git a/plugins/Owner/plugin.py b/plugins/Owner/plugin.py index 922387f51..c7880b90a 100644 --- a/plugins/Owner/plugin.py +++ b/plugins/Owner/plugin.py @@ -252,7 +252,7 @@ def doPrivmsg(self, irc, msg): 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 '