diff --git a/core/lib/manage/threshold.py b/core/lib/manage/threshold.py index 7138be1..f3ab1fc 100644 --- a/core/lib/manage/threshold.py +++ b/core/lib/manage/threshold.py @@ -28,6 +28,13 @@ def get_irc_network(net): return network +def edit_irc_network(net, data): + url = f"irc/network/{net}/edit" + payload = dict(data) + network = threshold_request(url, payload) + return network + + def get_irc_relays(net): url = f"irc/network/{net}/relays" payload = {} diff --git a/core/templates/dynamic/manage/threshold/irc/network/edit-network.html b/core/templates/dynamic/manage/threshold/irc/network/edit-network.html index d01e2f9..a7f8f29 100644 --- a/core/templates/dynamic/manage/threshold/irc/network/edit-network.html +++ b/core/templates/dynamic/manage/threshold/irc/network/edit-network.html @@ -1,8 +1,8 @@