diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-05-16 16:12:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-05-16 16:12:26 +0100 |
commit | 155edbd80d904794f2aefd9cc5daa097eef21565 (patch) | |
tree | d10f7c78a8012aa9df9fdc1075f586e3f5f260c3 /lualib | |
parent | 0ecec4a2d2ee0337c51746b4b8ddd43e21276e05 (diff) | |
download | rspamd-155edbd80d904794f2aefd9cc5daa097eef21565.tar.gz rspamd-155edbd80d904794f2aefd9cc5daa097eef21565.zip |
[Minor] Oops, fix `for` loop
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/rspamadm/dmarc_report.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/rspamadm/dmarc_report.lua b/lualib/rspamadm/dmarc_report.lua index e6b3a218a..71ff5d163 100644 --- a/lualib/rspamadm/dmarc_report.lua +++ b/lualib/rspamadm/dmarc_report.lua @@ -291,7 +291,7 @@ end local function process_rua(dmarc_domain, rua) -- Remove size limitation, as we don't care about them local addrs = {} - for rua_part in fun.map(lua_util.str_trim, lua_util.str_split(rua, ',')) do + for _, rua_part in fun.map(lua_util.str_trim, lua_util.str_split(rua, ',')) do local u = rspamd_url.create(pool, rua_part:gsub('!%d+[kmg]?$', '')) local u2 = rspamd_url.create(pool, dmarc_domain) if u and (u:get_protocol() or '') == 'mailto' and u:get_user() then |