can overlap with blocked hosts

This commit is contained in:
Namekuji 2023-04-30 09:04:07 -04:00
parent f2a8d1f680
commit cec5813ab2

View file

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