aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-14 11:07:06 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-14 11:07:06 +0000
commitb53c6ab237de8c7a003126422c57f86e4bbbf171 (patch)
tree7d220495500ccfe85c30a326583d3e04bfb24786 /lualib
parent76fafe01df1a32e7c0eb63cc56d6e8f5180b2a17 (diff)
downloadrspamd-b53c6ab237de8c7a003126422c57f86e4bbbf171.tar.gz
rspamd-b53c6ab237de8c7a003126422c57f86e4bbbf171.zip
[Minor] Load dynamic library if needed
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_ffi/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lualib/lua_ffi/init.lua b/lualib/lua_ffi/init.lua
index d2cbd95aa..b0254bdd8 100644
--- a/lualib/lua_ffi/init.lua
+++ b/lualib/lua_ffi/init.lua
@@ -46,6 +46,7 @@ else
end
end
+pcall(ffi.load, "rspamd-server", true)
exports.common = require "lua_ffi/common"
exports.dkim = require "lua_ffi/dkim"