aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/spamassassin.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-03 13:36:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-03 16:55:30 +0000
commitf5e2a84b6981cc12f06c908f9af277d13e64e7e8 (patch)
treeb86cc3a6ee0803e86d825240986d2b2efa553758 /src/plugins/lua/spamassassin.lua
parent12d38f08dd70e39bc0848390d6ec4f1f003ec335 (diff)
downloadrspamd-f5e2a84b6981cc12f06c908f9af277d13e64e7e8.tar.gz
rspamd-f5e2a84b6981cc12f06c908f9af277d13e64e7e8.zip
[Feature] Store plugins state
Diffstat (limited to 'src/plugins/lua/spamassassin.lua')
-rw-r--r--src/plugins/lua/spamassassin.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index ab97accb7..649abc51f 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -29,6 +29,7 @@ local rspamd_regexp = require "rspamd_regexp"
local rspamd_expression = require "rspamd_expression"
local rspamd_trie = require "rspamd_trie"
local util = require "rspamd_util"
+local lua_util = require "lua_util"
local fun = require "fun"
-- Known plugins
@@ -1647,4 +1648,6 @@ end
if has_rules then
post_process()
+else
+ lua_util.disable_module(N, "config")
end