Fix bug with reg command
This commit is contained in:
parent
7489512a82
commit
be405160e4
|
@ -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