From aa5350c7fdbee0b234d983777255f63275b10d69 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 16 Dec 2019 12:13:23 +0100 Subject: [PATCH] Missed blockedName->xBlockedName renaming Fixes #1116 --- dnscrypt-proxy/plugin_block_name.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/plugin_block_name.go b/dnscrypt-proxy/plugin_block_name.go index 78d6273d..cc9418f2 100644 --- a/dnscrypt-proxy/plugin_block_name.go +++ b/dnscrypt-proxy/plugin_block_name.go @@ -110,7 +110,7 @@ func (plugin *PluginBlockName) Init(proxy *Proxy) error { } var weeklyRanges *WeeklyRanges if len(timeRangeName) > 0 { - weeklyRangesX, ok := (*blockedNames.allWeeklyRanges)[timeRangeName] + weeklyRangesX, ok := (*xBlockedNames.allWeeklyRanges)[timeRangeName] if !ok { dlog.Errorf("Time range [%s] not found at line %d", timeRangeName, 1+lineNo) } else {