diff options
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r-- | src/plugins/surbl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 23beb1fbc..997115d6d 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -346,6 +346,10 @@ surbl_module_config (struct rspamd_config *cfg) gint cb_id; gboolean has_subsymbols; + if (!rspamd_config_is_module_enabled (cfg, "surbl")) { + return TRUE; + } + if ((value = rspamd_config_get_module_opt (cfg, "surbl", "redirector")) != NULL) { surbl_module_ctx->redirectors = rspamd_upstreams_create (); |