diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 | ||||
-rw-r--r-- | src/plugins/surbl.h | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c index 4b78b4173..8f37f5cc9 100644 --- a/src/main.c +++ b/src/main.c @@ -1161,9 +1161,6 @@ main (gint argc, gchar **argv, gchar **env) if (! init_lua_filters (rspamd_main->cfg)) { res = FALSE; } - if (!check_modules_config (rspamd_main->cfg)) { - res = FALSE; - } /* Perform modules configuring */ l = g_list_first (rspamd_main->cfg->filters); @@ -1240,8 +1237,6 @@ main (gint argc, gchar **argv, gchar **env) exit (EXIT_FAILURE); } - /* Check configuration for modules */ - (void)check_modules_config (rspamd_main->cfg); /* Insert classifiers symbols */ (void)insert_classifier_symbols (rspamd_main->cfg); diff --git a/src/plugins/surbl.h b/src/plugins/surbl.h index 5d8cf3039..27eaa75dd 100644 --- a/src/plugins/surbl.h +++ b/src/plugins/surbl.h @@ -36,7 +36,7 @@ struct surbl_ctx { gchar *metric; const gchar *tld2_file; const gchar *whitelist_file; - gchar *redirector_symbol; + const gchar *redirector_symbol; GHashTable **exceptions; GHashTable *whitelist; GHashTable *redirector_hosts; |