Add allRelaysActive output to network info
This commit is contained in:
@@ -187,6 +187,7 @@ class API(object):
|
||||
networks = {}
|
||||
for net in main.network.keys():
|
||||
networks[net] = {
|
||||
"active": chankeep.allRelaysActive(net),
|
||||
"relays": len(main.network[net].relays),
|
||||
"channels": userinfo.getTotalChanNum(net),
|
||||
"records": userinfo.getNumWhoEntries(net),
|
||||
|
||||
Reference in New Issue
Block a user