aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/spamassassin.lua
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-08-02 15:19:49 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-08-02 15:19:49 +0100
commitfd92edbc8f11720d43c4c5a99d78554ab1e374b5 (patch)
tree73d69e0402c4694ba0df54777723980b50abcee0 /src/plugins/lua/spamassassin.lua
parent5af7a56bb6853c0a7da949d7126940c03966804e (diff)
downloadrspamd-fd92edbc8f11720d43c4c5a99d78554ab1e374b5.tar.gz
rspamd-fd92edbc8f11720d43c4c5a99d78554ab1e374b5.zip
[Fix] fixed "cannot find dependency on symbol 1" issue when using replaced symbols in spamassassin rules
Diffstat (limited to 'src/plugins/lua/spamassassin.lua')
-rw-r--r--src/plugins/lua/spamassassin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index eea8b86a6..4d545b232 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -1566,7 +1566,7 @@ local function post_process()
else
local rspamd_symbol, replaced_symbol = replace_symbol(a)
if replaced_symbol then
- external_deps[a] = {rspamd_symbol}
+ external_deps[a] = {[rspamd_symbol] = true}
else
external_deps[a] = {}
end