diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-08-31 16:57:12 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-08-31 17:02:37 +0200 |
commit | 7a438186b0e1e95e79429e57100f6501ee44baa8 (patch) | |
tree | 31ba15843438eb0ec5911d32488c86a7af92ccab /src | |
parent | d0d697b41d04f434bafdfe35713b8501fc5f850a (diff) | |
download | rspamd-7a438186b0e1e95e79429e57100f6501ee44baa8.tar.gz rspamd-7a438186b0e1e95e79429e57100f6501ee44baa8.zip |
[Fix] Default monitoring domain for surbl plugin
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/surbl.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index cc120dc38..999a8c1c4 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -580,11 +580,10 @@ surbl_module_parse_rule (const ucl_object_t* value, struct rspamd_config* cfg) monitored_domain = "1.0.0.127"; } } - else { - if (!monitored_domain) { - monitored_domain = rspamd_surbl_default_monitored; - } - } + } + + if (!monitored_domain) { + monitored_domain = rspamd_surbl_default_monitored; } ropts = ucl_object_typed_new (UCL_OBJECT); |