commit 5c39fe6: [Minor] Fix noise in logs
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Jul 8 15:42:06 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-07-08 16:40:19 +0100
URL: https://github.com/rspamd/rspamd/commit/5c39fe6a4d031282be70ef61e04e7dc06e2d1444 (HEAD -> master)
[Minor] Fix noise in logs
---
src/lua/lua_task.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the Commits
mailing list