aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/mid.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-22 23:17:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-22 23:17:13 +0100
commita1dc1fd0591d0880c1537c4032d404cc748537f6 (patch)
tree497e69592a60d07aaf1c8d6474ad61701261b373 /src/plugins/lua/mid.lua
parentd34b7a2f737214e517f1c7945d009bc8282a9d70 (diff)
downloadrspamd-a1dc1fd0591d0880c1537c4032d404cc748537f6.tar.gz
rspamd-a1dc1fd0591d0880c1537c4032d404cc748537f6.zip
[Fix] Detect confighelp in plugins initialisation
Diffstat (limited to 'src/plugins/lua/mid.lua')
-rw-r--r--src/plugins/lua/mid.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/lua/mid.lua b/src/plugins/lua/mid.lua
index 959697cd9..19c85dac0 100644
--- a/src/plugins/lua/mid.lua
+++ b/src/plugins/lua/mid.lua
@@ -19,6 +19,10 @@ MID plugin - suppress INVALID_MSGID and MISSING_MID for messages originating
from listed valid DKIM domains with missed or known proprietary Message-IDs
]]--
+if confighelp then
+ return
+end
+
local rspamd_logger = require "rspamd_logger"
local rspamd_regexp = require "rspamd_regexp"