aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAL <AlexeySa@users.noreply.github.com>2016-10-25 14:06:33 +0300
committerGitHub <noreply@github.com>2016-10-25 14:06:33 +0300
commit6e71b7de04d4c33854b567839839d018e5420db4 (patch)
tree03dcb1c964bda346e8ebdcd16ac494250cd0dd2e
parent1719feacffeec853a1ab3d4cfcfaf3f335d53b49 (diff)
downloadrspamd-6e71b7de04d4c33854b567839839d018e5420db4.tar.gz
rspamd-6e71b7de04d4c33854b567839839d018e5420db4.zip
Update mx_check.lua
-rw-r--r--src/plugins/lua/mx_check.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/lua/mx_check.lua b/src/plugins/lua/mx_check.lua
index 39ba95b0b..bdd33a8e5 100644
--- a/src/plugins/lua/mx_check.lua
+++ b/src/plugins/lua/mx_check.lua
@@ -50,6 +50,10 @@ local function mx_check(task)
end
end
+ if not mx_domain then
+ return
+ end
+
local valid = false
local function check_results(mxes)