]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove redundant check
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 7 Oct 2022 19:34:54 +0000 (20:34 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 7 Oct 2022 19:34:54 +0000 (20:34 +0100)
src/libserver/spf.c

index eb74771295c5d7ce59e34d0d1d7e653494ac9c24..a422d2819371570852af8d8a6648a0daf74ebf27 100644 (file)
@@ -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;