mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
Remove wildcard entry when adding the very same domain either the white- or blacklist
This commit is contained in:
parent
051f463350
commit
cf31561267
@ -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
Block a user