diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 13:17:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 13:17:43 +0000 |
commit | 041d2e56ebeb880a423eb7f8434cdab4f7efaf68 (patch) | |
tree | bfe5553c7b21bbe00aeec9c93ff9f52cde4f9af8 /src/lua/lua_util.c | |
parent | 3383065b190c63dfaa3ef837572b1b43f80ae841 (diff) | |
download | rspamd-041d2e56ebeb880a423eb7f8434cdab4f7efaf68.tar.gz rspamd-041d2e56ebeb880a423eb7f8434cdab4f7efaf68.zip |
[Rework] Simplify lua path initialization
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r-- | src/lua/lua_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 24273c8c4..8af61d6d5 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -658,7 +658,7 @@ lua_util_process_message (lua_State *L) if (cfg != NULL && message != NULL) { base = event_init (); - rspamd_init_filters (cfg, FALSE, NULL); + rspamd_init_filters (cfg, FALSE); task = rspamd_task_new (NULL, cfg, NULL); task->ev_base = base; task->msg.begin = rspamd_mempool_alloc (task->task_pool, mlen); |