aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/UserManagerBase.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-30 02:01:12 +0000
committerTeravus Ovares2007-11-30 02:01:12 +0000
commit57e6b516390a6a07a9c5fb62f11f56ccb6bf04fa (patch)
treeb59a4e9b68590e8084924cff47af557e7cb34db2 /OpenSim/Framework/Communications/UserManagerBase.cs
parent* Temporary fix for 'User already online' issue in standalone mode. (diff)
downloadopensim-SC_OLD-57e6b516390a6a07a9c5fb62f11f56ccb6bf04fa.zip
opensim-SC_OLD-57e6b516390a6a07a9c5fb62f11f56ccb6bf04fa.tar.gz
opensim-SC_OLD-57e6b516390a6a07a9c5fb62f11f56ccb6bf04fa.tar.bz2
opensim-SC_OLD-57e6b516390a6a07a9c5fb62f11f56ccb6bf04fa.tar.xz
* 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
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/UserManagerBase.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs
index 74dba4c..f1f2c2b 100644
--- a/OpenSim/Framework/Communications/UserManagerBase.cs
+++ b/OpenSim/Framework/Communications/UserManagerBase.cs
@@ -253,6 +253,7 @@ namespace OpenSim.Framework.UserManagement
253 { 253 {
254 UserProfileData profile = GetUserProfile(agentID); 254 UserProfileData profile = GetUserProfile(agentID);
255 profile.currentAgent = null; 255 profile.currentAgent = null;
256
256 setUserProfile(profile); 257 setUserProfile(profile);
257 } 258 }
258 259