Skip to content

Commit

Permalink
[Minor] Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Oct 7, 2022
1 parent a30002b commit 48ebc88
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libserver/spf.c
Expand Up @@ -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;
Expand Down

0 comments on commit 48ebc88

Please sign in to comment.