diff --git a/server/lualib/packagepath.go b/server/lualib/packagepath.go index 7e3ae3ca..fd282aa5 100644 --- a/server/lualib/packagepath.go +++ b/server/lualib/packagepath.go @@ -11,7 +11,7 @@ import ( // It appends the Lua package path with the value returned by `config.LoadableConfig.GetLuaPackagePath()`. // This function takes a Lua state (`*lua.LState`) as an argument and returns an error. func PackagePath(L *lua.LState) error { - defaultPath := "/usr/local/share/nauthilus/lua/?.lua;/usr/share/nauthilus/lua/?.lua;" + defaultPath := "/usr/local/share/nauthilus/lua/?.lua;/usr/share/nauthilus/lua/?.lua;/usr/app/lua-plugins.d/share/?.lua" return L.DoString(fmt.Sprintf(`package.path = package.path .. ';%s;%s'`, defaultPath, config.LoadableConfig.GetLuaPackagePath())) }