diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-09-25 15:10:55 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-09-25 15:10:55 +0100 |
commit | 2d7d4ff1b1050f0b72d4f9df8326e7fd99b2cc2f (patch) | |
tree | b7af0c17b18a81b99a3386f78bc8bf3a9d6c145d /src/plugins | |
parent | 775bd417ca84de2152573b07d805168a51b49c30 (diff) | |
download | rspamd-2d7d4ff1b1050f0b72d4f9df8326e7fd99b2cc2f.tar.gz rspamd-2d7d4ff1b1050f0b72d4f9df8326e7fd99b2cc2f.zip |
[Minor] Fix symbol name
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/known_senders.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |