From 69bafedcca90f4997494b08e02e4adff8589e2fd Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 12 Jul 2017 22:18:52 -0700 Subject: [PATCH] IRCNetwork: use a less confusing error than "No data received" --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index ab30f68..2cf0218 100644 --- a/classes.py +++ b/classes.py @@ -1340,7 +1340,7 @@ class IRCNetwork(PyLinkNetworkCoreWithUtils): buf += data if not data: - self._log_connection_error('(%s) No data received, disconnecting!', self.name) + self._log_connection_error('(%s) Connection lost, disconnecting.', self.name) return elif (time.time() - self.lastping) > self.pingtimeout: self._log_connection_error('(%s) Connection timed out.', self.name)