commit 135f3ec: [Fix] Core: Don't detect language twice

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Dec 27 18:28:08 UTC 2018


Author: Vsevolod Stakhov
Date: 2018-12-14 14:44:56 +0000
URL: https://github.com/rspamd/rspamd/commit/135f3ec0a45374071c72d836a9baaa3695441732

[Fix] Core: Don't detect language twice

---
 src/libmime/message.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/libmime/message.c b/src/libmime/message.c
index 63494202d..b75eb6b68 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -1276,8 +1276,6 @@ rspamd_message_process (struct rspamd_task *task)
 						}
 					}
 
-					rspamd_mime_part_detect_language (task, sel);
-
 					if (sel->language && sel->language[0]) {
 						/* Propagate language */
 						if (sel == p1) {


More information about the Commits mailing list