mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Hopefully fixes userprofiles.yap problem on startup. (thanks Adam!)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user