diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-31 18:20:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-31 18:20:52 +0100 |
commit | 01113a325556749e5cf1697dbb238b3307bcedb0 (patch) | |
tree | c9b92569aad99bbbb67fb225aa6e8451862d6732 /src/lua/lua_task.c | |
parent | fb3cfd2368694af6d4c1c15efd11f4798c015219 (diff) | |
download | rspamd-01113a325556749e5cf1697dbb238b3307bcedb0.tar.gz rspamd-01113a325556749e5cf1697dbb238b3307bcedb0.zip |
[Fix] Fix messages insertion
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r-- | src/lua/lua_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index ca10a94e7..944ab9dbd 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1519,7 +1519,7 @@ lua_task_set_pre_result (lua_State * L) action_str = rspamd_mempool_strdup (task->task_pool, luaL_checkstring (L, 3)); task->pre_result.str = action_str; - ucl_object_insert_key (task->messages, + ucl_object_replace_key (task->messages, ucl_object_fromstring (action_str), "smtp_message", 0, false); } |