3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 03:33:10 +01:00

Irc: move self.aborted.clear() to connect()

This commit is contained in:
James Lu 2016-07-13 00:38:19 -07:00
parent ad5cd51189
commit 35a9d7ccba

View File

@ -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"]