Fix syntax error in reg command

This commit is contained in:
Mark Veidemanis 2020-11-01 18:50:17 +00:00
parent 9fd6688892
commit c10274ccd6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class RegCommand:
if not spl[1] in main.network.keys(): if not spl[1] in main.network.keys():
failure("No such network: %s" % spl[1]) failure("No such network: %s" % spl[1])
return return
if 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], int(spl[2]))
success("Requested registration for all relays on %s" % spl[1]) success("Requested registration for all relays on %s" % spl[1])
return return