aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-09 12:23:44 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-09 12:23:44 +0100
commitee29cb7459e3cdd388b125e85cb3fa93e2629ba6 (patch)
tree349e09cddfa326539d2361103a37f34ba373605c /lualib
parent498a8112a11c8b622010dae023e13017e8748be1 (diff)
downloadrspamd-ee29cb7459e3cdd388b125e85cb3fa93e2629ba6.tar.gz
rspamd-ee29cb7459e3cdd388b125e85cb3fa93e2629ba6.zip
[Minor] Fix index
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_squeeze_rules.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_squeeze_rules.lua b/lualib/lua_squeeze_rules.lua
index dd68ccb61..4309e1f97 100644
--- a/lualib/lua_squeeze_rules.lua
+++ b/lualib/lua_squeeze_rules.lua
@@ -42,7 +42,7 @@ local function gen_lua_squeeze_function(order)
if first then
table.remove(ret, 1)
- local second = ret[2]
+ local second = ret[1]
if type(second) == 'number' then
table.remove(ret, 1)