Fix bug with reg command
This commit is contained in:
parent
d405a4cd10
commit
735fee9286
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue