From aa4e9335aa7dac5884b8662fac49713c7dc221cc Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 5 Jul 2017 00:36:10 -0700 Subject: [PATCH] IRCS2SProtocol: expand nicks to UIDs in handle_kill This allows this handler to work natively on ngIRCd. --- protocols/ircs2s_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ircs2s_common.py b/protocols/ircs2s_common.py index 99e6a43..3ce3724 100644 --- a/protocols/ircs2s_common.py +++ b/protocols/ircs2s_common.py @@ -499,7 +499,7 @@ class IRCS2SProtocol(IRCCommonProtocol): def handle_kill(self, source, command, args): """Handles incoming KILLs.""" - killed = args[0] + killed = self._get_UID(args[0]) # Depending on whether the IRCd sends explicit QUIT messages for # killed clients, the user may or may not have automatically been # removed from our user list.