diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-16 09:59:52 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-16 09:59:52 +0000 |
commit | 6bc5286496c43a0ee9f1a616507c7aa03e28450c (patch) | |
tree | 9a6ed4374aaf129777560ba58f608368fb8754df /src/lua_worker.c | |
parent | 153e64677902c1acc7a1e8ee21d5b634d8a65885 (diff) | |
download | rspamd-6bc5286496c43a0ee9f1a616507c7aa03e28450c.tar.gz rspamd-6bc5286496c43a0ee9f1a616507c7aa03e28450c.zip |
Refactor UCL API
Diffstat (limited to 'src/lua_worker.c')
-rw-r--r-- | src/lua_worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_worker.c b/src/lua_worker.c index 5f8c96fa9..8f02e12b2 100644 --- a/src/lua_worker.c +++ b/src/lua_worker.c @@ -192,7 +192,7 @@ lua_worker_get_option (lua_State *L) lua_pushnil (L); } else { - val = ucl_object_find_key (ctx->opts, name); + val = ucl_object_lookup (ctx->opts, name); if (val == NULL) { lua_pushnil (L); } |