Fix IRC's requested libraries

This commit is contained in:
LeMagnesium 2015-07-06 18:44:13 +02:00
parent 29857f2527
commit 282d3bf57a
2 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ if not rawget(_G, "jit") and package.config:sub(1, 1) == "/" then
ie.package.path = ie.package.path..
";/usr/share/lua/5.1/?.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..
";/usr/lib/lua/5.1/?.so"
end
-- Temporarily set require so that LuaIRC can access it

View File

@ -27,8 +27,8 @@ if not rawget(_G, "jit") and package.config:sub(1, 1) == "/" then
ie.package.path = ie.package.path..
";/usr/share/lua/5.1/?.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..
";/usr/lib/lua/5.1/?.so"
end
-- Temporarily set require so that LuaIRC can access it