can overlap with blocked hosts
This commit is contained in:
parent
51858ae473
commit
a1645ddc5b
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user