diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-21 19:21:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-21 19:21:30 +0100 |
commit | 1e9750de3537a7f6902c070ab2010d4c6288d4c0 (patch) | |
tree | 7860cb0c9c5a2af03209a3ee3d2100e8b0876104 /lualib | |
parent | 3d94db91d6ac3fa323c6f30a2398f2b7e88fc729 (diff) | |
download | rspamd-1e9750de3537a7f6902c070ab2010d4c6288d4c0.tar.gz rspamd-1e9750de3537a7f6902c070ab2010d4c6288d4c0.zip |
[Fix] Fix passing of rspamd_text in selectors pipelines
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_selectors/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors/init.lua b/lualib/lua_selectors/init.lua index 62070a114..726f7d394 100644 --- a/lualib/lua_selectors/init.lua +++ b/lualib/lua_selectors/init.lua @@ -58,7 +58,7 @@ local function implicit_tostring(t, ud_or_table) return logger.slog("%s", ud_or_table),'string' elseif t == 'userdata' then - if t.cookie and t.cookie == text_cookie then + if ud_or_table.cookie and ud_or_table.cookie == text_cookie then -- Preserve opaque return ud_or_table,'string' else |