fixed missing --flood option in wrap

This commit is contained in:
Nicolas Coevoet 2021-06-19 22:23:41 +02:00
parent 3c80464cdf
commit a3d25c44b7

View File

@ -1630,7 +1630,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
irc.queueMsg(ircmsgs.privmsg(msg.nick, result))
else:
irc.reply('no result')
pending = wrap(pending,['op',getopts({'mode': 'letter', 'never': '', 'oper' : 'somethingWithoutSpaces', 'ids' : '', 'count': '', 'duration' : 'getTs'})])
pending = wrap(pending,['op',getopts({'flood':'','mode': 'letter', 'never': '', 'oper' : 'somethingWithoutSpaces', 'ids' : '', 'count': '', 'duration' : 'getTs'})])
def _modes (self,numModes,chan,modes,f):
for i in range(0, len(modes), numModes):