aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-31 17:03:00 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-31 17:03:00 +0000
commit098b9ae4891070d2951094a0324fedd835db74bb (patch)
tree8490a8214305202bc25d52f29a3c78c5e5fa4582 /src/lua
parent58fe553881315e2b8fea2ef3e37eaaea21932168 (diff)
downloadrspamd-098b9ae4891070d2951094a0324fedd835db74bb.tar.gz
rspamd-098b9ae4891070d2951094a0324fedd835db74bb.zip
[CritFix] Fix workers scripts by sharing workers configs
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index b9a727efa..7025d8fda 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -2009,7 +2009,6 @@ lua_config_register_worker_script (lua_State *L)
for (cur = g_list_first (cfg->workers); cur != NULL; cur = g_list_next (cur)) {
cf = cur->data;
-
wtype = g_quark_to_string (cf->type);
if (g_ascii_strcasecmp (wtype, worker_type) == 0) {