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:
parent
d0bd064eda
commit
42ec6f2502
@ -51,6 +51,8 @@ class Irc():
|
|||||||
self.connected = threading.Event()
|
self.connected = threading.Event()
|
||||||
self.aborted = threading.Event()
|
self.aborted = threading.Event()
|
||||||
|
|
||||||
|
self.pingTimer = None
|
||||||
|
|
||||||
self.initVars()
|
self.initVars()
|
||||||
|
|
||||||
if world.testing:
|
if world.testing:
|
||||||
@ -61,7 +63,6 @@ class Irc():
|
|||||||
name="Listener for %s" %
|
name="Listener for %s" %
|
||||||
self.name)
|
self.name)
|
||||||
self.connection_thread.start()
|
self.connection_thread.start()
|
||||||
self.pingTimer = None
|
|
||||||
|
|
||||||
def logSetup(self):
|
def logSetup(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user