From 50d7541deb285125b75f595f10594b63b0faffa3 Mon Sep 17 00:00:00 2001 From: ajh123 Date: Sun, 21 Aug 2022 17:55:47 +0100 Subject: [PATCH] Fix programms? 2 --- ifconfig.lua | 2 +- testRecv.lua | 2 +- testSend.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ifconfig.lua b/ifconfig.lua index 63f79f4..dcbb175 100644 --- a/ifconfig.lua +++ b/ifconfig.lua @@ -1,4 +1,4 @@ -package.preload.IPvCC=loadfile('/IPvCC/init.lua') +package.path = "/?.lua;" .. package.path IPvCC = require("IPvCC") diff --git a/testRecv.lua b/testRecv.lua index 0c5eac6..feb4ff0 100644 --- a/testRecv.lua +++ b/testRecv.lua @@ -1,4 +1,4 @@ -package.preload.IPvCC=loadfile('/IPvCC/init.lua') +package.path = "/?.lua;" .. package.path IPvCC = require("IPvCC") IPvCC.checkInterfaces() diff --git a/testSend.lua b/testSend.lua index 76f8d6e..f031ae2 100644 --- a/testSend.lua +++ b/testSend.lua @@ -1,4 +1,4 @@ -package.preload.IPvCC=loadfile('/IPvCC/init.lua') +package.path = "/?.lua;" .. package.path IPvCC = require("IPvCC") IPvCC.checkInterfaces()