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/controller.c | |
parent | b1cd84b44052098e033481bba6723ade9438e5ed (diff) | |
download | rspamd-404dfe01888353e3e475231c0e4d77eda2eb2d7b.tar.gz rspamd-404dfe01888353e3e475231c0e4d77eda2eb2d7b.zip |
[Fix] Apply language detection when adding fuzzy hashes
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c index 1367c819b..b1eb5a352 100644 --- a/src/controller.c +++ b/src/controller.c @@ -3018,6 +3018,7 @@ rspamd_controller_accept_socket (gint fd, short what, void *arg) "csession"); session->ctx = ctx; session->cfg = ctx->cfg; + session->lang_det = ctx->lang_det; REF_RETAIN (session->cfg); session->from_addr = addr; |