From b9f782868ce64a8b68fb8a53747c89b53960e075 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 21 May 2018 00:28:48 -0700 Subject: [PATCH] inspircd: remove users from the state immediately when sending a kill This matches Anope and Atheme's behaviours. Closes #607. --- protocols/inspircd.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/protocols/inspircd.py b/protocols/inspircd.py index 3a8c240..ced7557 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -236,11 +236,7 @@ class InspIRCdProtocol(TS6BaseProtocol): self._send_with_prefix(numeric, 'KILL %s :Killed (%s (%s))' % (target, sourcenick, reason)) - # We only need to call _remove_client here if the target is one of our - # clients, since any remote servers will send a QUIT from - # their target if the command succeeds. - if self.is_internal_client(target): - self._remove_client(target) + self._remove_client(target) def topic_burst(self, numeric, target, text): """Sends a topic change from a PyLink server. This is usually used on burst."""