diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-23 16:16:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-23 16:16:21 +0000 |
commit | a763b9c316a2b9add0de247a456a71ca495310f8 (patch) | |
tree | b88953d344eec4cf52bf20cbb32d47d27764cd03 /src/plugins/lua/history_redis.lua | |
parent | 51b39f712d38cb69ede71d62e84c9079234cdb70 (diff) | |
download | rspamd-a763b9c316a2b9add0de247a456a71ca495310f8.tar.gz rspamd-a763b9c316a2b9add0de247a456a71ca495310f8.zip |
[Minor] Remove too long strings in Lua code
Diffstat (limited to 'src/plugins/lua/history_redis.lua')
-rw-r--r-- | src/plugins/lua/history_redis.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/history_redis.lua b/src/plugins/lua/history_redis.lua index a6d039553..b7345f04e 100644 --- a/src/plugins/lua/history_redis.lua +++ b/src/plugins/lua/history_redis.lua @@ -213,7 +213,8 @@ local function handle_history_request(task, conn, from, to, reset) elseif settings.subject_privacy then local hash_alg = settings.subject_privacy_alg local subject_hash = hash.create_specific(hash_alg, e.subject) - e.subject = settings.subject_privacy_prefix .. ':' .. subject_hash:hex():sub(1,settings.subject_privacy_length) + e.subject = settings.subject_privacy_prefix .. ':' .. + subject_hash:hex():sub(1,settings.subject_privacy_length) end end, data) reply.rows = data |