Remove deletes which do nothing (#1511)

This commit is contained in:
Tim Wilkinson 2024-09-14 20:08:31 -07:00 committed by GitHub
parent b01bc7d8bb
commit 4b8aea0bc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -212,8 +212,6 @@ uciMesh.foreach("vtun", "server", a => {
weight: a.weight ?? "",
up: wireguard ? (length(filter(up.wg, v => index(a.passwd, v) !== -1)) === 0 ? false : true) : (up.lg[a.netip] ? true : false)
});
delete available.l[a.clientip];
delete available.w[a.clientip];
});
uciMesh.foreach("vtun", "client", a => {
const n = iptoarr(a.netip);