mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
Fix IRC's requested libraries
This commit is contained in:
parent
29857f2527
commit
282d3bf57a
@ -27,8 +27,8 @@ if not rawget(_G, "jit") and package.config:sub(1, 1) == "/" then
|
|||||||
ie.package.path = ie.package.path..
|
ie.package.path = ie.package.path..
|
||||||
";/usr/share/lua/5.1/?.lua"..
|
";/usr/share/lua/5.1/?.lua"..
|
||||||
";/usr/share/lua/5.1/?/init.lua"
|
";/usr/share/lua/5.1/?/init.lua"
|
||||||
if not rawget(_G, "jit") and package.config:sub(1, 1) == "/" then
|
|
||||||
ie.package.path = ie.package.path..
|
ie.package.path = ie.package.path..
|
||||||
|
";/usr/lib/lua/5.1/?.so"
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Temporarily set require so that LuaIRC can access it
|
-- Temporarily set require so that LuaIRC can access it
|
||||||
|
@ -27,8 +27,8 @@ if not rawget(_G, "jit") and package.config:sub(1, 1) == "/" then
|
|||||||
ie.package.path = ie.package.path..
|
ie.package.path = ie.package.path..
|
||||||
";/usr/share/lua/5.1/?.lua"..
|
";/usr/share/lua/5.1/?.lua"..
|
||||||
";/usr/share/lua/5.1/?/init.lua"
|
";/usr/share/lua/5.1/?/init.lua"
|
||||||
if not rawget(_G, "jit") and package.config:sub(1, 1) == "/" then
|
|
||||||
ie.package.path = ie.package.path..
|
ie.package.path = ie.package.path..
|
||||||
|
";/usr/lib/lua/5.1/?.so"
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Temporarily set require so that LuaIRC can access it
|
-- Temporarily set require so that LuaIRC can access it
|
||||||
|
Loading…
Reference in New Issue
Block a user