aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_mimepart.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-03 17:19:47 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-03 17:19:47 +0000
commit626107bb0f5593506230940a7d9b53d1b5f06d99 (patch)
tree592a45c9e93b664cf45d7269cb212cc31768e639 /src/lua/lua_mimepart.c
parent3d0dd27030df359f17181c5f926fb500c119a962 (diff)
downloadrspamd-626107bb0f5593506230940a7d9b53d1b5f06d99.tar.gz
rspamd-626107bb0f5593506230940a7d9b53d1b5f06d99.zip
[Minor] Fix a455c6542212948969b6c115344e9d059606407a missing part
Diffstat (limited to 'src/lua/lua_mimepart.c')
-rw-r--r--src/lua/lua_mimepart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_mimepart.c b/src/lua/lua_mimepart.c
index c221cbfa3..7ce6d251d 100644
--- a/src/lua/lua_mimepart.c
+++ b/src/lua/lua_mimepart.c
@@ -625,7 +625,7 @@ lua_textpart_has_8bit_raw (lua_State * L)
struct rspamd_mime_text_part *part = lua_check_textpart (L);
if (part) {
- if (part->flags & RSPAMD_MIME_TEXT_PART_FLAG_8BIT) {
+ if (part->flags & RSPAMD_MIME_TEXT_PART_FLAG_8BIT_RAW) {
lua_pushboolean (L, TRUE);
}
else {