]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove duplicate
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 3 Mar 2019 18:39:59 +0000 (18:39 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 3 Mar 2019 18:39:59 +0000 (18:39 +0000)
Issue: #2778
Closes: #2778
src/libserver/cfg_rcl.c

index 6c5343ccbedaf6f66cf63305aad4fea2a8dffdb1..7520b66d86b15fa35035ddfd93bb7119a2b81635 100644 (file)
@@ -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,