diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-27 13:53:48 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-27 13:53:48 +0000 |
commit | 65965fabad7969eb1d87df659679b73437415f52 (patch) | |
tree | 523adb3e5085bb90dcd8c434b8d73db0bc45b324 /src/rspamd.c | |
parent | 085b3707cbddc9601b3dd8f5953c74d299cac2d4 (diff) | |
download | rspamd-65965fabad7969eb1d87df659679b73437415f52.tar.gz rspamd-65965fabad7969eb1d87df659679b73437415f52.zip |
Fix initialization order
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index c9d5904d8..f198a6eeb 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -598,6 +598,12 @@ load_rspamd_config (struct rspamd_main *rspamd_main, } } + /* + * As some rules are defined in lua, we need to process them, then init + * modules and merely afterwards to init modules + */ + rspamd_lua_post_load_config (cfg); + if (init_modules) { rspamd_init_filters (cfg, FALSE); } |