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

Remove wildcard entry when adding the very same domain either the white- or blacklist
This commit is contained in:
DL6ER 2017-03-06 23:53:06 +01:00 committed by GitHub
commit ae9182c92e

View file

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