From: Vsevolod Stakhov Date: Thu, 5 Dec 2024 11:43:31 +0000 (+0000) Subject: [Minor] Fix misprint X-Git-Tag: 3.11.0~15^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53f73e02a4daf884a31a69e3f55ad1328c3bd1d3;p=thirdparty%2Frspamd.git [Minor] Fix misprint --- diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua index 75e5d11f80..bb65dc9ba7 100644 --- a/lualib/lua_mime.lua +++ b/lualib/lua_mime.lua @@ -941,7 +941,7 @@ exports.get_displayed_text_part = function(task) end if text_part then - local word_count = html_part:get_words_count() or 0 + local word_count = text_part:get_words_count() or 0 if word_count >= 10 then -- Arbitrary minimum threshold, e.g. I believe it's minimum sane return text_part