hotfix for verifyremoval

This commit is contained in:
Nicolas Coevoet 2021-09-30 14:29:51 +00:00
parent dbf84cbf1b
commit f578c2821f

View File

@ -4598,7 +4598,7 @@ class ChanTracker(callbacks.Plugin, plugins.ChannelDBHandler):
db.commit()
if len(toremove):
for r in toremove:
i.verifyRemoval(irc, item.channel, item.mode, item.value, db, self, item.uid)
i.verifyRemoval(irc, r.channel, r.mode, r.value, db, self, r.uid)
if irc.state.channels[channel].isHalfopPlus(irc.nick) \
and not self.registryValue('keepOp', channel=channel, network=irc.network):
self.forceTickle = True