diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-04 18:15:55 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-04 18:15:55 +0100 |
commit | d51244d879edbde60965ee382c40879c4bb8a068 (patch) | |
tree | f7ef513d2cc0857998542a15cb7048a3e7b313a9 /src/lua | |
parent | da57529be06ceb91fada005a3458a3be604ef271 (diff) | |
download | rspamd-d51244d879edbde60965ee382c40879c4bb8a068.tar.gz rspamd-d51244d879edbde60965ee382c40879c4bb8a068.zip |
[Minor] Output body_block flag
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_task.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index ed810a046..092e7fcb9 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -4923,6 +4923,10 @@ lua_task_get_flags (lua_State *L) lua_pushstring (L, "milter"); lua_rawseti (L, -2, idx++); } + if (task->protocol_flags & RSPAMD_TASK_PROTOCOL_FLAG_BODY_BLOCK) { + lua_pushstring (L, "body_block"); + lua_rawseti (L, -2, idx++); + } } else { return luaL_error (L, "invalid arguments"); |