clear userAgent state on client shutdown, which fixes the issue

where you could only login once with a given id in standalone mode.
This commit is contained in:
Sean Dague
2007-07-31 14:42:50 +00:00
parent 7db7ad0722
commit 55b569069d
8 changed files with 84 additions and 12 deletions

View File

@@ -139,13 +139,30 @@ namespace OpenSim.Framework.Data.DB4o
{
try
{
manager.AddRow(user);
manager.UpdateRecord(user);
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
}
}
/// <summary>
/// Creates a new user profile
/// </summary>
/// <param name="user">The profile to add to the database</param>
/// <returns>True on success, false on error</returns>
public bool updateUserProfile(UserProfileData user)
{
try {
return manager.UpdateRecord(user);
} catch (Exception e) {
Console.WriteLine(e.ToString());
return false;
}
}
/// <summary>
/// Creates a new user agent