From: Vsevolod Stakhov Date: Fri, 7 Oct 2022 19:34:54 +0000 (+0100) Subject: [Minor] Remove redundant check X-Git-Tag: 3.4~69 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=48ebc882e6d5343796e55b1df128cb085ab9f88a;p=rspamd.git [Minor] Remove redundant check --- 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;