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:
parent
de6aaf18ab
commit
6f8893d950
|
@ -84,6 +84,7 @@ PoplistFile() {
|
||||||
if ${addmode}; then
|
if ${addmode}; then
|
||||||
AddDomain "${dom}" "${listMain}"
|
AddDomain "${dom}" "${listMain}"
|
||||||
RemoveDomain "${dom}" "${listAlt}"
|
RemoveDomain "${dom}" "${listAlt}"
|
||||||
|
RemoveDomain "${dom}" "${wildcardlist}"
|
||||||
else
|
else
|
||||||
RemoveDomain "${dom}" "${listMain}"
|
RemoveDomain "${dom}" "${listMain}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue