home · contact · privacy
Remove debugging code crashing new connections.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 10 Aug 2025 09:48:30 +0000 (11:48 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 10 Aug 2025 09:48:30 +0000 (11:48 +0200)
ircplom/irc_conn.py

index 0dcd113f22090058b3dd2e57384af28052b1b114..5e09c1aa7133357111a699f879d366316421c096 100644 (file)
@@ -164,14 +164,10 @@ class BaseIrcConnection(QueueMixin, ABC):
         assert self._socket is not None
         bytes_total = b''
         buffer_linesep = b''
-        i = 0
         try:
             while True:
-                i += 1
                 try:
                     bytes_new = self._socket.recv(_CONN_RECV_BUFSIZE)
-                    if i >= 10:
-                        raise IrcConnAbortException("DEBUG")
                 except TimeoutError:
                     yield None
                     continue