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:
parent
b254a7f971
commit
15d51b3455
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user