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