diff options
Diffstat (limited to 'src/lua/global_functions.lua')
-rw-r--r-- | src/lua/global_functions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/global_functions.lua b/src/lua/global_functions.lua index f335caf40..64f4f6b72 100644 --- a/src/lua/global_functions.lua +++ b/src/lua/global_functions.lua @@ -440,7 +440,7 @@ function rspamd_map_add(mname, optname, mtype, description) local data = {} for _,elt in ipairs(opt) do if type(elt) == 'string' then - table.insert(data, tostring(elt)) + data[elt] = '1' end end |