]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Load ucl directly to export types
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 5 Nov 2017 10:07:03 +0000 (10:07 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 5 Nov 2017 10:07:03 +0000 (10:07 +0000)
src/lua/lua_common.c

index 7b2b073e9f7199bc6b3a69a559b913bf8ea1719c..2fdb63c74aa88c5488627ab0f716e99e310c80f0 100644 (file)
@@ -393,6 +393,7 @@ rspamd_lua_init ()
 
        rspamd_lua_new_class (L, "rspamd{worker}", worker_reg);
        rspamd_lua_add_preload (L, "lpeg", luaopen_lpeg);
+       luaopen_ucl (L);
        rspamd_lua_add_preload (L, "ucl", luaopen_ucl);
 
        /* Add plugins global */