]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Fix another issue with external deps in SA 1214/head
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 Dec 2016 12:30:20 +0000 (12:30 +0000)
committerAndrew Lewis <nerf@judo.za.org>
Thu, 1 Dec 2016 12:36:46 +0000 (14:36 +0200)
src/plugins/lua/spamassassin.lua

index 64e1308092514b9a86209a52edc41a4df374cea1..2affaeedef7a42134ede8561644980ace307ef4a 100644 (file)
@@ -1512,9 +1512,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