3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +01:00

Irc: default pingTimer to None before starting connections

This commit is contained in:
James Lu 2016-06-21 10:54:07 -07:00
parent d0bd064eda
commit 42ec6f2502

View File

@ -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):
"""