diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/forged_recipients.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/forged_recipients.lua b/src/plugins/lua/forged_recipients.lua index d5fda34bb..77188e830 100644 --- a/src/plugins/lua/forged_recipients.lua +++ b/src/plugins/lua/forged_recipients.lua @@ -26,7 +26,7 @@ function check_forged_headers(task) else -- Find pair for each smtp recipient recipient in To or Cc headers for _,sr in ipairs(smtp_rcpt) do - if sr:byte(1) == utf8.ltsym then + if sr:sub(1,1) == '<' then -- Trim brackets sr = string.sub(sr, 2, -2) end |