3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 13:09:23 +01:00

nefarious: only send EOB_ACK to uplink

Closes #266.
This commit is contained in:
James Lu 2016-07-10 20:36:13 -07:00
parent 1675c43841
commit 8b04a51daf

View File

@ -1103,6 +1103,7 @@ class P10Protocol(IRCS2SProtocol):
"""Handles end of burst from our uplink."""
# Send EOB acknowledgement; this is required by the P10 specification,
# and needed if we want to be able to receive channel messages, etc.
if source == irc.uplink:
self._send(self.irc.sid, 'EA')
return {}