3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 12:12:53 +01:00

inspircd: fix wrong variable in KILL text

This commit is contained in:
James Lu 2016-04-29 23:42:41 -07:00
parent b61ac21e86
commit 01bf0325fb

View File

@ -189,7 +189,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
# InspIRCd will show the raw kill message sent from our server as the quit message. # 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 # So, make the kill look actually like a kill instead of someone quitting with
# an arbitrary message. # an arbitrary message.
if target in self.irc.servers: if numeric in self.irc.servers:
sourcenick = self.irc.servers[numeric].name sourcenick = self.irc.servers[numeric].name
else: else:
sourcenick = self.irc.users[numeric].nick sourcenick = self.irc.users[numeric].nick