diff --git a/api/views.py b/api/views.py index c0a734c..d7b5805 100644 --- a/api/views.py +++ b/api/views.py @@ -256,6 +256,9 @@ class API(object): return dumps({"success": False, "reason": "invalid chanlimit: not a number."}) else: chanlimit = int(chanlimit) + online_relays = helpers.get_active_relays(net) + for inst in online_relays: + inst.chanlimit = chanlimit elif item == "security": security = data[item][0] if security not in ["ssl", "plain"]: