commit 874ea02: [Minor] Fix misprint

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jul 10 17:28:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-10 18:24:46 +0100
URL: https://github.com/rspamd/rspamd/commit/874ea02629077b3c9f4f74c483f0ec51e2038ae4 (HEAD -> master)

[Minor] Fix misprint
Pointed by: Remko Lodder

---
 src/plugins/lua/neural.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua
index af3e4465b..4e1b7057c 100644
--- a/src/plugins/lua/neural.lua
+++ b/src/plugins/lua/neural.lua
@@ -180,7 +180,7 @@ local redis_lua_script_save_unlock = [[
   redis.call('ZADD', KEYS[2], now, KEYS[4])
   redis.call('HSET', KEYS[1], 'ann', KEYS[3])
   redis.call('DEL', KEYS[1] .. '_spam')
-  edis.call('DEL', KEYS[1] .. '_ham')
+  redis.call('DEL', KEYS[1] .. '_ham')
   redis.call('HDEL', KEYS[1], 'lock')
   redis.call('EXPIRE', KEYS[1], tonumber(KEYS[5]))
   return 1


More information about the Commits mailing list