]> source.dussan.org Git - rspamd.git/commitdiff
Removes useless index 4334/head
authoryo <johan@nosd.in>
Sun, 13 Nov 2022 15:42:44 +0000 (16:42 +0100)
committeryo <johan@nosd.in>
Sun, 13 Nov 2022 15:42:44 +0000 (16:42 +0100)
src/plugins/lua/metadata_exporter.lua

index e011c56a911d330f875619eb44cff02b2b5448a5..6c4cf0019002dee317b8ab7a6ccbc5aae35ed17a 100644 (file)
@@ -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