diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-11 18:41:18 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-11 18:41:18 +0100 |
commit | dd0d565be66f02de3d190e9fd9106fa4ab10e668 (patch) | |
tree | 8dc0004deae8c9109d0b526c87da991245a2596c /src/lua/lua_task.c | |
parent | 61b8bccda06e3ea08085ae62ee8c8bd870d33507 (diff) | |
download | rspamd-dd0d565be66f02de3d190e9fd9106fa4ab10e668.tar.gz rspamd-dd0d565be66f02de3d190e9fd9106fa4ab10e668.zip |
[Minor] Fix stack index
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r-- | src/lua/lua_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index a6b32b089..5a6be50f0 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1610,7 +1610,7 @@ lua_task_set_pre_result (lua_State * L) } if (lua_type (L, 6) == LUA_TNUMBER) { - priority = lua_tonumber (L, 5); + priority = lua_tonumber (L, 6); } if (action < METRIC_ACTION_MAX && action >= METRIC_ACTION_REJECT) { |