|
@@ -586,9 +586,7 @@ def ffpb_fetch_stats(bot, url, memoryid):
|
|
|
if 'legacy' in node['flags'] and node['flags']['legacy']:
|
|
|
clients_count -= 1
|
|
|
|
|
|
- for link in data['links']:
|
|
|
- if link['type'] == 'client':
|
|
|
- clients_count += 1
|
|
|
+ clients_count += node['clientcount']
|
|
|
|
|
|
if not memoryid in bot.memory:
|
|
|
bot.memory[memoryid] = {}
|