]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix noise in logs
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 8 Jul 2020 15:40:19 +0000 (16:40 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 8 Jul 2020 15:40:19 +0000 (16:40 +0100)
src/lua/lua_task.c

index 9b9ef7efc6c50cf3a13d1ec27be27bff03957144..e850f1d7e411a2ccac0445916032dd97a26dbbe7 100644 (file)
@@ -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);