diff options
Diffstat (limited to 'src/lua/lua_task.c')
-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"); |