From 48ebc882e6d5343796e55b1df128cb085ab9f88a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 7 Oct 2022 20:34:54 +0100 Subject: [PATCH] [Minor] Remove redundant check --- src/libserver/spf.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/libserver/spf.c b/src/libserver/spf.c index eb7477129..a422d2819 100644 --- a/src/libserver/spf.c +++ b/src/libserver/spf.c @@ -207,12 +207,6 @@ spf_library_config (const ucl_object_t *obj) } } - if ((value = ucl_object_find_key (obj, "disable_ipv6")) != NULL) { - if (ucl_object_toboolean_safe (value, &bval)) { - spf_lib_ctx->disable_ipv6 = bval; - } - } - if (spf_lib_ctx->spf_hash) { rspamd_lru_hash_destroy (spf_lib_ctx->spf_hash); spf_lib_ctx->spf_hash = NULL; -- 2.39.5