Missed blockedName->xBlockedName renaming

Fixes #1116
This commit is contained in:
Frank Denis 2019-12-16 12:13:23 +01:00
parent 56f838341b
commit aa5350c7fd
1 changed files with 1 additions and 1 deletions

View File

@ -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 {