From: Vsevolod Stakhov Date: Mon, 25 Sep 2023 14:10:55 +0000 (+0100) Subject: [Minor] Fix symbol name X-Git-Tag: 3.7.1~15^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d7d4ff1b1050f0b72d4f9df8326e7fd99b2cc2f;p=rspamd.git [Minor] Fix symbol name --- diff --git a/src/plugins/lua/known_senders.lua b/src/plugins/lua/known_senders.lua index 5a04c7dd0..588a180fc 100644 --- a/src/plugins/lua/known_senders.lua +++ b/src/plugins/lua/known_senders.lua @@ -83,7 +83,7 @@ local function check_redis_key(task, key, key_ty) task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key)) else if settings.symbol_unknown then - task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key)) + task:insert_result(settings.symbol_unknown, 1.0, string.format("%s:%s", key_ty, key)) end lua_util.debugm(N, task, 'insert key %s, type: %s', key, key_ty) -- Insert key to zset and trim it's cardinality @@ -118,7 +118,7 @@ local function check_redis_key(task, key, key_ty) task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key)) else if settings.symbol_unknown then - task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key)) + task:insert_result(settings.symbol_unknown, 1.0, string.format("%s:%s", key_ty, key)) end lua_util.debugm(N, task, 'insert key %s, type: %s', key, key_ty) -- Reserve bloom filter space