From fd3236ddb7a438904dd9efa038790bb6049262f1 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 12 May 2017 19:52:40 -0700 Subject: [PATCH] Irc: fix another CPU loop on 'disconnect' --- classes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes.py b/classes.py index 4c4c454..4ec23a7 100644 --- a/classes.py +++ b/classes.py @@ -185,6 +185,8 @@ class Irc(utils.DeprecatedAttributesObject): break elif data: self._send(data) + else: + break def connect(self): """