aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-17 12:16:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-17 12:16:48 +0100
commitd20c466cd2d98a5f8abb9bdb9c85902b258cc563 (patch)
tree988ee900ec19827bea06eddb1bdc7f82483b6404 /src/lua/lua_common.c
parentd20163c2280d8f28fe63e83355b4c58b6fc52362 (diff)
downloadrspamd-d20c466cd2d98a5f8abb9bdb9c85902b258cc563.tar.gz
rspamd-d20c466cd2d98a5f8abb9bdb9c85902b258cc563.zip
[Minor] Fix various settings issues
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r--src/lua/lua_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index a912fb5b5..7e7a2854f 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -1902,7 +1902,7 @@ rspamd_lua_run_config_unload (lua_State *L, struct rspamd_config *cfg)
struct rspamd_config_cfg_lua_script *sc;
struct rspamd_config **pcfg;
- LL_FOREACH (cfg->post_init_scripts, sc) {
+ LL_FOREACH (cfg->config_unload_scripts, sc) {
lua_pushcfunction (L, &rspamd_lua_traceback);
gint err_idx = lua_gettop (L);