diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-23 14:51:07 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-23 14:51:07 +0000 |
commit | b324b1639525ce4e5ad4c32b97f04e289e5c63cb (patch) | |
tree | 5d0829a6fc7cd54b4993609a409e87b98b52e28b /src | |
parent | ee86574d474f4d58a9836c1991b86da562311d27 (diff) | |
download | rspamd-b324b1639525ce4e5ad4c32b97f04e289e5c63cb.tar.gz rspamd-b324b1639525ce4e5ad4c32b97f04e289e5c63cb.zip |
{Fix] Fix monitored address in case of multiple SURBL rules
MFH: rspamd-1.6
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/surbl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 2beef565c..6cc8b2f3c 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -525,6 +525,8 @@ surbl_module_parse_rule (const ucl_object_t* value, struct rspamd_config* cfg) ucl_object_t *ropts; LL_FOREACH(value, cur_rule) { + monitored_domain = NULL; + cur = ucl_object_lookup (cur_rule, "enabled"); if (cur != NULL && cur->type == UCL_BOOLEAN) { if (!ucl_object_toboolean (cur)) { |