mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 04:02:45 +01:00
Irc: move self.aborted.clear() to connect()
This commit is contained in:
parent
ad5cd51189
commit
35a9d7ccba
@ -101,7 +101,6 @@ class Irc():
|
|||||||
self.pingtimeout = self.pingfreq * 3
|
self.pingtimeout = self.pingfreq * 3
|
||||||
|
|
||||||
self.connected.clear()
|
self.connected.clear()
|
||||||
self.aborted.clear()
|
|
||||||
self.pseudoclient = None
|
self.pseudoclient = None
|
||||||
self.lastping = time.time()
|
self.lastping = time.time()
|
||||||
|
|
||||||
@ -167,6 +166,7 @@ class Irc():
|
|||||||
__init__ in a separate thread to allow multiple concurrent connections.
|
__init__ in a separate thread to allow multiple concurrent connections.
|
||||||
"""
|
"""
|
||||||
while True:
|
while True:
|
||||||
|
self.aborted.clear()
|
||||||
self.initVars()
|
self.initVars()
|
||||||
ip = self.serverdata["ip"]
|
ip = self.serverdata["ip"]
|
||||||
port = self.serverdata["port"]
|
port = self.serverdata["port"]
|
||||||
|
Loading…
Reference in New Issue
Block a user