mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
Irc: run initVars() on connect too
2b16f25b61
is wrong; it caused reconnects to fail with disconnect loops. (cherry picked from commit45c2abdae7
)
This commit is contained in:
parent
46922ce879
commit
f2a21148e7
@ -165,6 +165,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.initVars()
|
||||||
ip = self.serverdata["ip"]
|
ip = self.serverdata["ip"]
|
||||||
port = self.serverdata["port"]
|
port = self.serverdata["port"]
|
||||||
checks_ok = True
|
checks_ok = True
|
||||||
|
Loading…
Reference in New Issue
Block a user