From: Vsevolod Stakhov Date: Mon, 9 Apr 2018 11:23:44 +0000 (+0100) Subject: [Minor] Fix index X-Git-Tag: 1.7.3~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ee29cb7459e3cdd388b125e85cb3fa93e2629ba6;p=rspamd.git [Minor] Fix index --- 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)