3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

IRCS2SProtocol: expand nicks to UIDs in handle_kill

This allows this handler to work natively on ngIRCd.
This commit is contained in:
James Lu 2017-07-05 00:36:10 -07:00
parent 3729b23e43
commit aa4e9335aa

View File

@ -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.