Skip to content

Commit 1c07963

Browse files
committed
Owner: Being ignored for commands flood is now restricted to non-trusted users (instead of non-owners). Closes GH-13.
1 parent 9d53652 commit 1c07963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/Owner/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def doPrivmsg(self, irc, msg):
252252
self.commands.enqueue(msg)
253253
if conf.supybot.abuse.flood.command() \
254254
and self.commands.len(msg) > maximum \
255-
and not ircdb.checkCapability(msg.prefix, 'owner'):
255+
and not ircdb.checkCapability(msg.prefix, 'trusted'):
256256
punishment = conf.supybot.abuse.flood.command.punishment()
257257
banmask = ircutils.banmask(msg.prefix)
258258
self.log.info('Ignoring %s for %s seconds due to an apparent '

0 commit comments

Comments
 (0)