aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-06 09:26:18 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-06 09:26:18 +0100
commit9a3b5ef566ad7c57b6509511e53f9dbe58340268 (patch)
treeb3b610c4d7ac1ac0de96fa089977f19225c09934 /rules
parentdae0ccff831a4a9a2fa536cc4da348bb764a4645 (diff)
downloadrspamd-9a3b5ef566ad7c57b6509511e53f9dbe58340268.tar.gz
rspamd-9a3b5ef566ad7c57b6509511e53f9dbe58340268.zip
[Minor] Don't load torch unless really needed
Diffstat (limited to 'rules')
-rw-r--r--rules/rspamd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rspamd.lua b/rules/rspamd.lua
index 67136cc6e..646dc5afd 100644
--- a/rules/rspamd.lua
+++ b/rules/rspamd.lua
@@ -65,4 +65,4 @@ if rmaps and type(rmaps) == 'table' then
end
local rspamd_nn = require "lua_nn"
-rspamd_nn.load_rspamd_nn() -- Load defined models \ No newline at end of file
+rspamd_nn.load_rspamd_nn() -- Load defined models if any \ No newline at end of file