Fix bug with reg command

This commit is contained in:
Mark Veidemanis 2020-11-01 20:43:51 +00:00
parent d405a4cd10
commit 735fee9286
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class RegCommand:
failure("No such network: %s" % spl[1]) failure("No such network: %s" % spl[1])
return return
for i in main.network[spl[1]].relays.keys(): 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]) success("Requested registration for all relays on %s" % spl[1])
return return
elif length == 3: elif length == 3: