From: Vsevolod Stakhov Date: Sun, 25 Feb 2018 16:35:05 +0000 (+0000) Subject: [Minor] Fix multiplier set X-Git-Tag: 1.7.0~123 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f83fc39878f72945970f7b80795fcc7a68025a6b;p=rspamd.git [Minor] Fix multiplier set --- diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index c1aa5e930..eac91adc6 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -878,9 +878,9 @@ local function check_mime_type(task) local found local mult for _,v in ipairs(mt) do + mult = v.mult if ct == v.ct then found = true - mult = v.mult break end end