mirror of
https://github.com/jlu5/PyLink.git
synced 2025-04-19 14:28:05 +02:00
Irc: default pingTimer to None before starting connections
(cherry picked from commit 42ec6f2502b9dfcf775cbab0755dcda04809d14d)
This commit is contained in:
parent
cfa2cda885
commit
dd08c01791
@ -53,6 +53,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:
|
||||||
@ -63,7 +65,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…
x
Reference in New Issue
Block a user