From: Vsevolod Stakhov Date: Tue, 3 May 2016 11:59:13 +0000 (+0100) Subject: [Fix] Reverse options when received X-Git-Tag: 1.3.0~570 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a0c16f60f79532b6b307a02654b0e51f6e500315;p=rspamd.git [Fix] Reverse options when received --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 134876940..c53833d85 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -920,6 +920,10 @@ lua_task_insert_result (lua_State * L) } } + if (params) { + params = g_list_reverse (params); + } + rspamd_task_insert_result (task, symbol_name, flag, params); } else {