diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-15 13:18:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-15 13:18:34 +0000 |
commit | 1d0ff299f57e94b297d4215fc4429c2aabbc40ba (patch) | |
tree | 025a056b29592a8e0734b1e59fbf0eaf66a2d65a /src/libmime/lang_detection.c | |
parent | c4ddccba821ed6ec6c54ffdf751e96172a19f6d0 (diff) | |
download | rspamd-1d0ff299f57e94b297d4215fc4429c2aabbc40ba.tar.gz rspamd-1d0ff299f57e94b297d4215fc4429c2aabbc40ba.zip |
[Fix] Do not save multipatterns to FS in certain cases
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 bdd0aad74..c485de5ad 100644 --- a/src/libmime/lang_detection.c +++ b/src/libmime/lang_detection.c @@ -898,7 +898,7 @@ rspamd_language_detector_init(struct rspamd_config *cfg) rspamd_language_detector_process_chain(cfg, chain); }); - if (!rspamd_multipattern_compile(ret->stop_words[i].mp, &err)) { + if (!rspamd_multipattern_compile(ret->stop_words[i].mp, 0, &err)) { msg_err_config("cannot compile stop words for %z language group: %e", i, err); g_error_free(err); |