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: