diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs b/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs index f1022fd..cc5b0e4 100644 --- a/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs | |||
@@ -162,11 +162,10 @@ namespace OpenSim.Region.CoreModules.Framework.Library | |||
162 | m_MockScene.RegisterModuleInterface<IInventoryService>(invService); | 162 | m_MockScene.RegisterModuleInterface<IInventoryService>(invService); |
163 | m_MockScene.RegisterModuleInterface<IAssetService>(m_Scene.AssetService); | 163 | m_MockScene.RegisterModuleInterface<IAssetService>(m_Scene.AssetService); |
164 | 164 | ||
165 | UserProfileData profile = new UserProfileData(); | 165 | UserAccount uinfo = new UserAccount(lib.Owner); |
166 | profile.FirstName = "OpenSim"; | 166 | uinfo.FirstName = "OpenSim"; |
167 | profile.ID = lib.Owner; | 167 | uinfo.LastName = "Library"; |
168 | profile.SurName = "Library"; | 168 | uinfo.ServiceURLs = new Dictionary<string, object>(); |
169 | CachedUserInfo uinfo = new CachedUserInfo(invService, profile); | ||
170 | 169 | ||
171 | foreach (string iarFileName in Directory.GetFiles(pathToLibraries, "*.iar")) | 170 | foreach (string iarFileName in Directory.GetFiles(pathToLibraries, "*.iar")) |
172 | { | 171 | { |