commit bca9188: [Minor] Remove duplicate

Vsevolod Stakhov vsevolod at highsecure.ru
Sun Mar 3 18:42:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-03 18:39:59 +0000
URL: https://github.com/rspamd/rspamd/commit/bca9188306a65baae32a835024e25ddd4fcd95c4 (HEAD -> master)

[Minor] Remove duplicate
Issue: #2778
Closes: #2778

---
 src/libserver/cfg_rcl.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 6c5343ccb..7520b66d8 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -1811,12 +1811,6 @@ rspamd_rcl_config_init (struct rspamd_config *cfg, GHashTable *skip_sections)
 				G_STRUCT_OFFSET (struct rspamd_config, check_text_attachements),
 				0,
 				"Treat text attachments as normal text parts");
-		rspamd_rcl_add_default_handler (sub,
-				"check_attachments",
-				rspamd_rcl_parse_struct_boolean,
-				G_STRUCT_OFFSET (struct rspamd_config, check_text_attachements),
-				0,
-				"Treat text attachments as normal text parts");
 		rspamd_rcl_add_default_handler (sub,
 				"tempdir",
 				rspamd_rcl_parse_struct_string,


More information about the Commits mailing list