Fix getting all unregistered relays

This commit is contained in:
Mark Veidemanis 2022-08-14 20:58:30 +01:00
parent 1b77c50552
commit d9ec68708b
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def get_unregistered_relays(net=None):
for num in main.network[i].relays.keys():
if not main.network[i].relays[num]["registered"]:
nick = main.alias[num]["nick"]
if net in unreg:
if i in unreg:
unreg[i].append([nick, num])
else:
unreg[i] = [[nick, num]]