Fix module dependencies, split filter into interception and filter modules

This commit is contained in:
Daniel
2020-04-24 10:17:15 +02:00
parent 5c7739e28a
commit 95041d217c
8 changed files with 89 additions and 40 deletions

View File

@@ -33,7 +33,7 @@ var (
func init() {
ignoreNetEnvEvents.Set()
module = modules.Register("filterlists", prep, start, nil, "core", "netenv")
module = modules.Register("filterlists", prep, start, stop, "core")
}
func prep() error {
@@ -98,3 +98,8 @@ func start() error {
return nil
}
func stop() error {
filterListsLoaded = make(chan struct{})
return nil
}