mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
can overlap with blocked hosts
This commit is contained in:
parent
f2a8d1f680
commit
cec5813ab2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue