Merge pull request #1301 from pi-hole/fix/removewildcard

Remove wildcard entry when adding the very same domain either the white- or blacklist
pull/1312/head
DL6ER 7 years ago committed by DL6ER
parent de6aaf18ab
commit 6f8893d950
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -84,6 +84,7 @@ PoplistFile() {
if ${addmode}; then
AddDomain "${dom}" "${listMain}"
RemoveDomain "${dom}" "${listAlt}"
RemoveDomain "${dom}" "${wildcardlist}"
else
RemoveDomain "${dom}" "${listMain}"
fi

Loading…
Cancel
Save