@ -35,6 +35,14 @@ def allRelaysActive(net):
if name in main.IRCPool.keys():
if main.IRCPool[name].authenticated and main.IRCPool[name].isconnected:
existNum += 1
else:
debug(f"allRelaysActive() {name} is not authenticated or connected")
debug(
(
f"allRelaysActive() {name} auth:{main.IRCPool[name].authenticated} "
f"connected:{main.IRCPool[name].isconnected}"
)
debug(f"allRelaysActive() finished, {existNum}/{relayNum} relays active for {net}")
if existNum == relayNum:
return True