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]]