From 35a9d7ccbacfe099eade7027dfab93ea6cd0dbcd Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 13 Jul 2016 00:38:19 -0700 Subject: [PATCH] Irc: move self.aborted.clear() to connect() --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 21d0073..5ce2dfd 100644 --- a/classes.py +++ b/classes.py @@ -101,7 +101,6 @@ class Irc(): self.pingtimeout = self.pingfreq * 3 self.connected.clear() - self.aborted.clear() self.pseudoclient = None self.lastping = time.time() @@ -167,6 +166,7 @@ class Irc(): __init__ in a separate thread to allow multiple concurrent connections. """ while True: + self.aborted.clear() self.initVars() ip = self.serverdata["ip"] port = self.serverdata["port"]