Add connected status to IRC info return and check when getting active relays
This commit is contained in:
@@ -33,7 +33,7 @@ def allRelaysActive(net):
|
||||
for i in activeRelays:
|
||||
name = net + str(i)
|
||||
if name in main.IRCPool.keys():
|
||||
if main.IRCPool[name].authenticated:
|
||||
if main.IRCPool[name].authenticated and main.IRCPool[name].isconnected:
|
||||
existNum += 1
|
||||
debug(f"allRelaysActive() finished, {existNum}/{relayNum} relays active for {net}")
|
||||
if existNum == relayNum:
|
||||
|
||||
Reference in New Issue
Block a user