diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-21 17:36:12 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-21 17:36:12 +0100 |
commit | 7890a62a8a76a7711e5dbdb994f8dbbe5c0c1872 (patch) | |
tree | bc6c252e0a6e3f8283c942058d1d6095a58af030 /src/libserver/worker_util.c | |
parent | 47b84671defd9639e75f6f099742a7d513378911 (diff) | |
download | rspamd-7890a62a8a76a7711e5dbdb994f8dbbe5c0c1872.tar.gz rspamd-7890a62a8a76a7711e5dbdb994f8dbbe5c0c1872.zip |
[Feature] Add a very basic interface to access workers data from on_load
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r-- | src/libserver/worker_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index 16e08eb31..6261e1991 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -306,7 +306,7 @@ rspamd_prepare_worker (struct rspamd_worker *worker, const char *name, if (load_lua) { struct rspamd_config *cfg = worker->srv->cfg; - rspamd_lua_run_postloads (cfg->lua_state, cfg, ev_base); + rspamd_lua_run_postloads (cfg->lua_state, cfg, ev_base, worker); } return ev_base; |