* Here's the issue, on log-off, the routine sets up a null useragent member and then tries to save it to the database.. where it was going wrong, is the database had a check to do *nothing* when it got a null useragent. I made it delete the userAgent row. This should be a good enough fix to solve the problem. It still needs to be looked at by a DB guy

This commit is contained in:
Teravus Ovares
2007-11-30 02:01:12 +00:00
parent 5eb091ceee
commit 57e6b51639
2 changed files with 22 additions and 1 deletions

View File

@@ -253,6 +253,7 @@ namespace OpenSim.Framework.UserManagement
{
UserProfileData profile = GetUserProfile(agentID);
profile.currentAgent = null;
setUserProfile(profile);
}