aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-07-08 16:40:19 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-07-08 16:40:19 +0100
commit5c39fe6a4d031282be70ef61e04e7dc06e2d1444 (patch)
tree9dab4b35f79aae8d1997131259c88d636ab41a14 /src/lua
parenta52e5197df22659df1f611ce4505c505b461b365 (diff)
downloadrspamd-5c39fe6a4d031282be70ef61e04e7dc06e2d1444.tar.gz
rspamd-5c39fe6a4d031282be70ef61e04e7dc06e2d1444.zip
[Minor] Fix noise in logs
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 9b9ef7efc..e850f1d7e 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -2022,7 +2022,7 @@ lua_task_insert_result_common (lua_State * L, struct rspamd_scan_result *result,
}
}
}
- else if (task->settings == NULL) {
+ else if (task->settings == NULL && task->settings_elt == NULL) {
lua_pushfstring (L, "insertion failed for %s", symbol_name);
rspamd_lua_traceback (L);