]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Load dynamic library if needed
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 14 Feb 2019 11:07:06 +0000 (11:07 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 14 Feb 2019 11:07:06 +0000 (11:07 +0000)
lualib/lua_ffi/init.lua

index d2cbd95aada90e841ecd06ac04ac09e14bffbc87..b0254bdd8092fd899915cb7ef911b4735313b74e 100644 (file)
@@ -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"