From 33dd4fdcfe6422d6feb7c49cd584e45b6341ab8e Mon Sep 17 00:00:00 2001 From: Nicolas Coevoet Date: Mon, 24 May 2021 20:21:51 +0000 Subject: [PATCH] better handling on NickServ GHOST with announceKick on libera --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index c0cacb0..f1151c9 100644 --- a/plugin.py +++ b/plugin.py @@ -2973,7 +2973,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler): # keeping this nick, may trigger cycle check removeNick = False 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: chan = self.getChan(irc,channel) if msg.nick in chan.nicks: