From 3d69b7f4e8edcef4e1a1a118dad40051f8b23c07 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 2 May 2019 17:36:12 -0700 Subject: [PATCH] ircs2s_common: fix sending the wrong target in PING --- 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 6e7034c..286223a 100644 --- a/protocols/ircs2s_common.py +++ b/protocols/ircs2s_common.py @@ -401,7 +401,7 @@ class IRCS2SProtocol(IRCCommonProtocol): This is mostly used by PyLink internals to check whether the remote link is up.""" if self.sid and self.connected.is_set(): - self._send_with_prefix(self.sid, 'PING %s' % self._expandPUID(self.sid)) + self._send_with_prefix(self.sid, 'PING %s' % self._expandPUID(self.uplink)) def quit(self, numeric, reason): """Quits a PyLink client."""