diff options
Diffstat (limited to 'src/libmime/lang_detection.c')
-rw-r--r-- | src/libmime/lang_detection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c index af646d7cf..033f8d3d6 100644 --- a/src/libmime/lang_detection.c +++ b/src/libmime/lang_detection.c @@ -435,7 +435,7 @@ rspamd_language_detector_read_file (struct rspamd_config *cfg, flags = ucl_object_lookup (top, "flags"); - if (type != NULL && ucl_object_type (type) == UCL_ARRAY) { + if (flags != NULL && ucl_object_type (flags) == UCL_ARRAY) { ucl_object_iter_t it = NULL; const ucl_object_t *cur; |