3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-28 21:52:38 +01:00

Don't loop infinitely if _send fails...

This commit is contained in:
James Lu 2021-01-10 10:28:34 -08:00
parent b254a7f971
commit 15d51b3455

View File

@ -2105,6 +2105,7 @@ class IRCNetwork(PyLinkNetworkCoreWithUtils):
except:
log.exception("(%s) Failed to send message %r; aborting!", self.name, data)
self.disconnect()
return
else:
break