diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index e3bf1738d..2c02e82b1 100644 --- a/src/main.c +++ b/src/main.c @@ -264,7 +264,7 @@ reread_config (struct rspamd_main *rspamd) cfg_file = memory_pool_strdup (tmp_cfg->cfg_pool, rspamd->cfg->cfg_name); /* Save some variables */ tmp_cfg->cfg_name = cfg_file; - tmp_cfg->lua_state = rspamd->cfg->lua_state; + init_lua (tmp_cfg); if (! load_rspamd_config (tmp_cfg)) { msg_err ("cannot parse new config file, revert to old one"); |