aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-16 12:22:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-16 12:22:23 +0100
commit5c1273c1857a5eccd95d42746cfadba687c6f637 (patch)
tree075dad30c579f9969e5b569c377d94dd1cde19e2 /lualib
parentf0d70c7d4cbe25f40ec13d306456cbfbd43e8c89 (diff)
downloadrspamd-5c1273c1857a5eccd95d42746cfadba687c6f637.tar.gz
rspamd-5c1273c1857a5eccd95d42746cfadba687c6f637.zip
[Minor] Fix function call
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_nn.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_nn.lua b/lualib/lua_nn.lua
index 512e904a0..0e8977d37 100644
--- a/lualib/lua_nn.lua
+++ b/lualib/lua_nn.lua
@@ -42,7 +42,7 @@ if torch then
end
end
end
- local section = rspamd_config:get_all_opts("nn_models")
+ local section = rspamd_config:get_all_opt("nn_models")
if section and type(section) == 'table' then
for k,v in pairs(section) do