Wait with first update cycle until online

This commit is contained in:
Daniel
2021-10-04 16:02:59 +02:00
parent 9daa76717f
commit 5d15ec8cc7
7 changed files with 28 additions and 26 deletions

View File

@@ -52,7 +52,7 @@ func prep() error {
}
if err := module.RegisterEventHook(
"netenv",
netenv.ModuleName,
netenv.OnlineStatusChangedEvent,
"Check for blocklist updates",
func(ctx context.Context, _ interface{}) error {