aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
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