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/libserver/worker_util.h | |
parent | b1cd84b44052098e033481bba6723ade9438e5ed (diff) | |
download | rspamd-404dfe01888353e3e475231c0e4d77eda2eb2d7b.tar.gz rspamd-404dfe01888353e3e475231c0e4d77eda2eb2d7b.zip |
[Fix] Apply language detection when adding fuzzy hashes
Diffstat (limited to 'src/libserver/worker_util.h')
-rw-r--r-- | src/libserver/worker_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/worker_util.h b/src/libserver/worker_util.h index 3af9c961d..9e99a99a5 100644 --- a/src/libserver/worker_util.h +++ b/src/libserver/worker_util.h @@ -77,6 +77,7 @@ struct rspamd_custom_controller_command { }; struct rspamd_controller_worker_ctx; +struct rspamd_lang_detector; struct rspamd_controller_session { struct rspamd_controller_worker_ctx *ctx; @@ -86,6 +87,7 @@ struct rspamd_controller_session { gchar *classifier; rspamd_inet_addr_t *from_addr; struct rspamd_config *cfg; + struct rspamd_lang_detector *lang_det; gboolean is_spam; gboolean is_enable; }; |