aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
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);