Hopefully fixes userprofiles.yap problem on startup. (thanks Adam!)

afrisby
Brian McBee 2007-08-12 16:17:04 +00:00
parent f5955ab539
commit 95b89096c4
1 changed files with 3 additions and 4 deletions

View File

@ -123,11 +123,10 @@ namespace OpenSim.Framework.Data.DB4o
IObjectSet result = database.Get(typeof(UserProfileData));
foreach (UserProfileData row in result)
{
if (!userProfiles.ContainsKey(row.UUID))
{
if (userProfiles.ContainsKey(row.UUID))
userProfiles[row.UUID] = row;
else
userProfiles.Add(row.UUID, row);
}
}
database.Close();
}