can overlap with blocked hosts

This commit is contained in:
Namekuji 2023-04-30 09:04:07 -04:00
parent 51858ae473
commit a1645ddc5b
No known key found for this signature in database
GPG Key ID: B541BD6E646CABC7
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ export default define(meta, paramDef, async (ps, me) => {
set.silencedHosts = ps.silencedHosts.sort().filter((h) => {
const lv = lastValue;
lastValue = h;
return h !== "" && h !== lv && !set.blockedHosts?.includes(h);
return h !== "" && h !== lv;
});
}