mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 21:11:13 -05:00
better handling on NickServ GHOST with announceKick on libera
This commit is contained in:
parent
2962c3190b
commit
33dd4fdcfe
@ -2973,7 +2973,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
|||||||
# keeping this nick, may trigger cycle check
|
# keeping this nick, may trigger cycle check
|
||||||
removeNick = False
|
removeNick = False
|
||||||
elif reason and reason.startswith('Killed (') or reason.startswith('K-Lined'):
|
elif reason and reason.startswith('Killed (') or reason.startswith('K-Lined'):
|
||||||
if not 'Nickname regained by services' in reason:
|
if not 'Nickname regained by services' in reason and not 'NickServ (GHOST command used by ' in reason:
|
||||||
for channel in irc.state.channels:
|
for channel in irc.state.channels:
|
||||||
chan = self.getChan(irc,channel)
|
chan = self.getChan(irc,channel)
|
||||||
if msg.nick in chan.nicks:
|
if msg.nick in chan.nicks:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user