1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 06:08:21 +00:00

Remove wildcard entry when adding the very same domain either the white- or blacklist

This commit is contained in:
DL6ER 2017-03-06 16:24:12 +01:00
parent 051f463350
commit cf31561267
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

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