commit e68b77c: [Minor] Lua_task: Some better handling of rewrite_message flag

Vsevolod Stakhov vsevolod at highsecure.ru
Sun Jul 14 11:49:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-14 12:43:28 +0100
URL: https://github.com/rspamd/rspamd/commit/e68b77c80ca26568cdc0ab392ce463ca377d48dc (HEAD -> master)

[Minor] Lua_task: Some better handling of rewrite_message flag

---
 src/lua/lua_task.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 6182d64fb..1167edb50 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -4741,6 +4741,7 @@ lua_task_set_flag (lua_State *L)
 				RSPAMD_TASK_FLAG_BROKEN_HEADERS, set);
 		LUA_TASK_SET_FLAG (flag, "greylisted", RSPAMD_TASK_FLAG_GREYLISTED, set);
 		LUA_TASK_SET_FLAG (flag, "skip_process", RSPAMD_TASK_FLAG_SKIP_PROCESS, set);
+		LUA_TASK_SET_FLAG (flag, "message_rewrite", RSPAMD_TASK_FLAG_MESSAGE_REWRITE, set);
 
 		if (!found) {
 			msg_warn_task ("unknown flag requested: %s", flag);


More information about the Commits mailing list