Browse Source

[Fix] fixed "cannot find dependency on symbol 1" issue when using replaced symbols in spamassassin rules

tags/1.8.0
Mikhail Galanin 5 years ago
parent
commit
fd92edbc8f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/plugins/lua/spamassassin.lua

+ 1
- 1
src/plugins/lua/spamassassin.lua View File

@@ -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

Loading…
Cancel
Save