commit fbb7c65: [Minor] Remove lua_nn as it was unused

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Jul 1 16:28:36 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-01 17:04:41 +0100
URL: https://github.com/rspamd/rspamd/commit/fbb7c65cf772ce48e5a6a96518951cd19c2c8023 (refs/pull/2958/head, torch-removal)

[Minor] Remove lua_nn as it was unused

---
 rules/rspamd.lua | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/rules/rspamd.lua b/rules/rspamd.lua
index 50b1aadf1..ccfee71b2 100644
--- a/rules/rspamd.lua
+++ b/rules/rspamd.lua
@@ -67,7 +67,4 @@ if rmaps and type(rmaps) == 'table' then
       rspamd_maps[k] = map_or_err
     end
   end
-end
-
-local rspamd_nn = require "lua_nn"
-rspamd_nn.load_rspamd_nn() -- Load defined models if any
\ No newline at end of file
+end
\ No newline at end of file


More information about the Commits mailing list