diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-19 07:43:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-19 07:43:21 +0000 |
commit | 404dfe01888353e3e475231c0e4d77eda2eb2d7b (patch) | |
tree | 3e5217ce59b8ec49ad2cf218f0f21c330c236816 /src/plugins | |
parent | b1cd84b44052098e033481bba6723ade9438e5ed (diff) | |
download | rspamd-404dfe01888353e3e475231c0e4d77eda2eb2d7b.tar.gz rspamd-404dfe01888353e3e475231c0e4d77eda2eb2d7b.zip |
[Fix] Apply language detection when adding fuzzy hashes
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/fuzzy_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index a5e6487c1..02e870190 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -2959,7 +2959,7 @@ fuzzy_process_handler (struct rspamd_http_connection_entry *conn_ent, gint r, *saved, rules = 0, err_idx; /* Prepare task */ - task = rspamd_task_new (session->wrk, session->cfg, NULL, NULL); + task = rspamd_task_new (session->wrk, session->cfg, NULL, session->lang_det); task->cfg = ctx->cfg; task->ev_base = conn_ent->rt->ev_base; saved = rspamd_mempool_alloc0 (session->pool, sizeof (gint)); |