Skip to content

Commit

Permalink
Owner: Being ignored for commands flood is now restricted to non-trus…
Browse files Browse the repository at this point in the history
…ted users (instead of non-owners). Closes GH-13.
  • Loading branch information
progval committed Jun 22, 2011
1 parent 9d53652 commit 1c07963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Owner/plugin.py
Expand Up @@ -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 '
Expand Down

0 comments on commit 1c07963

Please sign in to comment.