Add more information to relay API return
This commit is contained in:
@@ -32,7 +32,12 @@ def getActiveRelays(net):
|
||||
for i in enabledRelays:
|
||||
name = net + str(i)
|
||||
if name in main.IRCPool.keys():
|
||||
debug(f"getActiveRelays() {net}: {i} auth:{main.IRCPool[name].authenticated} conn:{main.IRCPool[name].isconnected}")
|
||||
debug(
|
||||
(
|
||||
f"getActiveRelays() {net}: {i} auth:{main.IRCPool[name].authenticated} "
|
||||
f"conn:{main.IRCPool[name].isconnected}"
|
||||
)
|
||||
)
|
||||
if main.IRCPool[name].authenticated and main.IRCPool[name].isconnected:
|
||||
activeRelays.append(i)
|
||||
debug(f"getActiveRelays() {net}: {activeRelays}")
|
||||
|
||||
Reference in New Issue
Block a user