]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Fix another issue with external deps in SA
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 Dec 2016 12:30:20 +0000 (12:30 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 Dec 2016 12:30:35 +0000 (12:30 +0000)
src/plugins/lua/spamassassin.lua

index e6d7639cf94a1ba332af1dc4dbf4c46ba5d41009..b4c504a3eee4807b163459f749419e41943ac249 100644 (file)
@@ -1541,9 +1541,9 @@ 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}
             else
-              external_deps[a] = 1
+              external_deps[a] = {}
             end
           end
         end