From: Vsevolod Stakhov Date: Sun, 4 Aug 2019 17:15:55 +0000 (+0100) Subject: [Minor] Output body_block flag X-Git-Tag: 2.0~463 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d51244d879edbde60965ee382c40879c4bb8a068;p=rspamd.git [Minor] Output body_block flag --- 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");