commit b53c6ab: [Minor] Load dynamic library if needed

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Feb 14 11:14:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-02-14 11:07:06 +0000
URL: https://github.com/rspamd/rspamd/commit/b53c6ab237de8c7a003126422c57f86e4bbbf171 (HEAD -> master)

[Minor] Load dynamic library if needed

---
 lualib/lua_ffi/init.lua | 1 +
 1 file changed, 1 insertion(+)

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"
 


More information about the Commits mailing list