mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-28 13:42:37 +01:00
ircs2s_common: fix sending the wrong target in PING
This commit is contained in:
parent
ad4cb9561c
commit
3d69b7f4e8
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user