Update Reject Hosts

This commit is contained in:
SukkaW
2023-03-12 15:51:55 +08:00
parent a00f05a989
commit 414150c13e
3 changed files with 5 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ module.exports.dedupe = ({ chunk }) => {
let shouldBeRemoved = true;
for (let k = 0; k < domainFromInputLen; k++) {
if (domainFromFullSet.charCodeAt(k + 1) !== domainFromInput.charCodeAt(k)) {
if (domainFromFullSet[k + 1] !== domainFromInput[k]) {
shouldBeRemoved = false;
break;
}