From d9ec68708bdc38cbb546dc210319effd8befcc2f Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 14 Aug 2022 20:58:30 +0100 Subject: [PATCH] Fix getting all unregistered relays --- modules/regproc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/regproc.py b/modules/regproc.py index a9e83f3..8a35461 100644 --- a/modules/regproc.py +++ b/modules/regproc.py @@ -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]]