mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 13:01:06 -05:00
Fix oversight from previous commit.
This affected automatical kicking on mode change.
This commit is contained in:
parent
e50ca6fe0d
commit
f0dce70427
@ -4317,7 +4317,7 @@ class ChanTracker(callbacks.Plugin, plugins.ChannelDBHandler):
|
|||||||
if item and len(item.affects):
|
if item and len(item.affects):
|
||||||
for affected in item.affects:
|
for affected in item.affects:
|
||||||
nick = affected.split('!')[0]
|
nick = affected.split('!')[0]
|
||||||
n = self.getNick(irc, msg.nick)
|
n = self.getNick(irc, nick)
|
||||||
isVip = self._isVip(irc, channel, n)
|
isVip = self._isVip(irc, channel, n)
|
||||||
if isVip:
|
if isVip:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user