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,8 +1103,9 @@ class P10Protocol(IRCS2SProtocol):
"""Handles end of burst from our uplink.""" """Handles end of burst from our uplink."""
# Send EOB acknowledgement; this is required by the P10 specification, # Send EOB acknowledgement; this is required by the P10 specification,
# and needed if we want to be able to receive channel messages, etc. # and needed if we want to be able to receive channel messages, etc.
self._send(self.irc.sid, 'EA') if source == irc.uplink:
return {} self._send(self.irc.sid, 'EA')
return {}
def handle_mode(self, source, command, args): def handle_mode(self, source, command, args):
"""Handles mode changes.""" """Handles mode changes."""