From cb3ac5c4f16ce6a311029d7f11516c565688bfa1 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Thu, 24 Apr 2025 01:16:17 +0200 Subject: [PATCH] context.php: provide DnsDriver to FilterService --- inc/context.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/context.php b/inc/context.php index f2fe23a5..92a8cc20 100644 --- a/inc/context.php +++ b/inc/context.php @@ -109,7 +109,8 @@ function build_context(array $config): Context { FilterService::class => fn(Context $c): FilterService => new FilterService( $c->get('config')['filters'], $c->get(FloodService::class), - $c->get(LogDriver::class) + $c->get(LogDriver::class), + $c->get(DnsDriver::class) ), FloodManager::class => fn(Context $c): FloodManager => new FloodManager( $c->get(FilterService::class),