aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/cfg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index d4b4e9075..a854f45ca 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -1907,7 +1907,7 @@ rspamd_config_action_from_ucl (struct rspamd_config *cfg,
threshold = ucl_object_todouble (elt);
}
- elt = ucl_object_lookup_any (obj, "flags");
+ elt = ucl_object_lookup (obj, "flags");
if (elt && ucl_object_type (elt) == UCL_ARRAY) {
const ucl_object_t *cur;