]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix some lua issues
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Sep 2017 14:55:45 +0000 (15:55 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Sep 2017 14:55:45 +0000 (15:55 +0100)
lualib/lua_nn.lua

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