aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-09 15:55:45 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-09 15:55:45 +0100
commit0f180fa8e8843fccac5a4816a07ca88e0fe1a201 (patch)
tree9c7329aedf53a8abcd3eeca75198cf3d08eeff04 /lualib
parent0b37952e903a227ed0ba7d1386b9241d2fe0e446 (diff)
downloadrspamd-0f180fa8e8843fccac5a4816a07ca88e0fe1a201.tar.gz
rspamd-0f180fa8e8843fccac5a4816a07ca88e0fe1a201.zip
[Minor] Fix some lua issues
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_nn.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/lualib/lua_nn.lua b/lualib/lua_nn.lua
index 90d88c12c..512e904a0 100644
--- a/lualib/lua_nn.lua
+++ b/lualib/lua_nn.lua
@@ -14,16 +14,14 @@ See the License for the specific language governing permissions and
limitations under the License.
]]--
-local rspamd_util = require "rspamd_util"
+local rspamd_logger = require "rspamd_logger"
local torch
-local nn
local exports = {}
local lua_nn_models = {}
if rspamd_config:has_torch() then
torch = require "torch"
- nn = require "nn"
end
if torch then