]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix function call
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 16 Sep 2017 11:22:23 +0000 (12:22 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 16 Sep 2017 11:22:23 +0000 (12:22 +0100)
lualib/lua_nn.lua

index 512e904a0d4c4840951156a2adec8dc277e03144..0e8977d3749cd47662539ccff77d68a8b182a9f7 100644 (file)
@@ -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