Fix getting all unregistered relays

This commit is contained in:
Mark Veidemanis 2022-08-14 20:58:30 +01:00
parent 1b39b46121
commit 4fa5c25e94
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(): for num in main.network[i].relays.keys():
if not main.network[i].relays[num]["registered"]: if not main.network[i].relays[num]["registered"]:
nick = main.alias[num]["nick"] nick = main.alias[num]["nick"]
if net in unreg: if i in unreg:
unreg[i].append([nick, num]) unreg[i].append([nick, num])
else: else:
unreg[i] = [[nick, num]] unreg[i] = [[nick, num]]