aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-25 16:39:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-25 16:39:51 +0000
commiteda0fa8f2a48cc0e0cc7d4c982dfa36b6b9aa47e (patch)
tree6a4ae86cd85109587f10263093b8240f82eefeed
parent3e32e48591025b0a1aae869b7c8dc697f06b738d (diff)
downloadrspamd-eda0fa8f2a48cc0e0cc7d4c982dfa36b6b9aa47e.tar.gz
rspamd-eda0fa8f2a48cc0e0cc7d4c982dfa36b6b9aa47e.zip
[Minor] Remove tostring
-rw-r--r--lualib/lua_selectors/extractors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors/extractors.lua b/lualib/lua_selectors/extractors.lua
index ce88445e8..3f6dc61ee 100644
--- a/lualib/lua_selectors/extractors.lua
+++ b/lualib/lua_selectors/extractors.lua
@@ -368,7 +368,7 @@ the second argument is optional and defines the type (string by default)]],
['get_value'] = function(task, args)
local hdr = task:get_request_header(args[1])
if hdr then
- return tostring(hdr),'string'
+ return hdr,'string'
end
return nil