Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
Fix typo in plugin initialization (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
jplot authored Feb 23, 2020
1 parent bd8e8f1 commit 4ce2dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func parsePluginConfiguration(c *caddy.Controller) (*adsPluginConfig, error) {
if !c.NextArg() {
return nil, plugin.Error("ads", c.Err("No name for whitelist regex (permit-regex) entry defined"))
}
config.RegexBlacklistRules = append(config.RegexWhitelistRules, c.Val())
config.RegexWhitelistRules = append(config.RegexWhitelistRules, c.Val())
break
case "nxdomain":
config.WriteNXDomain = true
Expand Down

0 comments on commit 4ce2dec

Please sign in to comment.