From 01bf0325fb30ceb0d4adb18e67995c6b87402d4b Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 29 Apr 2016 23:42:41 -0700 Subject: [PATCH] inspircd: fix wrong variable in KILL text --- protocols/inspircd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/inspircd.py b/protocols/inspircd.py index 36fd9cd..6d95b8f 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -189,7 +189,7 @@ class InspIRCdProtocol(TS6BaseProtocol): # InspIRCd will show the raw kill message sent from our server as the quit message. # So, make the kill look actually like a kill instead of someone quitting with # an arbitrary message. - if target in self.irc.servers: + if numeric in self.irc.servers: sourcenick = self.irc.servers[numeric].name else: sourcenick = self.irc.users[numeric].nick