mirror of
https://github.com/folbricht/routedns.git
synced 2026-01-06 01:30:00 -06:00
Pass back the loader given upon instantiation of the domain BlocklistDB (#65)
This commit is contained in:
@@ -55,7 +55,7 @@ func NewDomainDB(loader BlocklistLoader) (*DomainDB, error) {
|
||||
n = subNode
|
||||
}
|
||||
}
|
||||
return &DomainDB{root: root}, nil
|
||||
return &DomainDB{root, loader}, nil
|
||||
}
|
||||
|
||||
func (m *DomainDB) Reload() (BlocklistDB, error) {
|
||||
|
||||
Reference in New Issue
Block a user