1
0
Fork 1
mirror of https://example.com synced 2024-11-24 07:06:39 +09:00

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

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;
});
}