From be405160e464a5b5b253ba4d1a6dd5ca01e06b34 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 1 Nov 2020 20:43:51 +0000 Subject: [PATCH] Fix bug with reg command --- commands/reg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/reg.py b/commands/reg.py index 46ddae0..27c0150 100644 --- a/commands/reg.py +++ b/commands/reg.py @@ -12,7 +12,7 @@ class RegCommand: failure("No such network: %s" % spl[1]) return for i in main.network[spl[1]].relays.keys(): - regproc.registerAccount(spl[1], int(spl[2])) + regproc.registerAccount(spl[1], i) success("Requested registration for all relays on %s" % spl[1]) return elif length == 3: