mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 13:05:36 +03:00
Fix rule text in the Reason
This commit is contained in:
parent
54bdacdde2
commit
73e20d1dd0
1 changed files with 1 additions and 1 deletions
|
@ -500,11 +500,11 @@ func (rule *rule) match(host string) (Result, error) {
|
|||
res.Reason = FilteredBlackList
|
||||
res.IsFiltered = true
|
||||
res.FilterID = rule.listID
|
||||
res.Rule = rule.originalText
|
||||
if rule.isWhitelist {
|
||||
res.Reason = NotFilteredWhiteList
|
||||
res.IsFiltered = false
|
||||
}
|
||||
res.Rule = rule.text
|
||||
}
|
||||
return res, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue