diff options
author | yo <johan@nosd.in> | 2022-11-13 16:42:44 +0100 |
---|---|---|
committer | yo <johan@nosd.in> | 2022-11-13 16:42:44 +0100 |
commit | 99b8dedea11f9ecab58ccd6bd6274194450c2d57 (patch) | |
tree | e3d10f3d2ddf01a61cc7c67cf7af2e837b06037c /src | |
parent | 86d99407f4980a25112a3d6b40cae3419a677ea1 (diff) | |
download | rspamd-99b8dedea11f9ecab58ccd6bd6274194450c2d57.tar.gz rspamd-99b8dedea11f9ecab58ccd6bd6274194450c2d57.zip |
Removes useless index
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/metadata_exporter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/metadata_exporter.lua b/src/plugins/lua/metadata_exporter.lua index e011c56a9..6c4cf0019 100644 --- a/src/plugins/lua/metadata_exporter.lua +++ b/src/plugins/lua/metadata_exporter.lua @@ -306,7 +306,7 @@ local pushers = { rspamd_logger.errx(task, 'got error %s in http callback', err) return maybe_defer(task, rule) end - for i, v in ipairs(valid_status) do + for _, v in ipairs(valid_status) do if v == code then return true end |