mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 03:33:10 +01:00
Irc: default pingTimer to None before starting connections
This commit is contained in:
parent
d0bd064eda
commit
42ec6f2502
@ -51,6 +51,8 @@ class Irc():
|
||||
self.connected = threading.Event()
|
||||
self.aborted = threading.Event()
|
||||
|
||||
self.pingTimer = None
|
||||
|
||||
self.initVars()
|
||||
|
||||
if world.testing:
|
||||
@ -61,7 +63,6 @@ class Irc():
|
||||
name="Listener for %s" %
|
||||
self.name)
|
||||
self.connection_thread.start()
|
||||
self.pingTimer = None
|
||||
|
||||
def logSetup(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user