aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorJeff Ames2007-11-29 07:22:11 +0000
committerJeff Ames2007-11-29 07:22:11 +0000
commit6d7ce67db1c62f5436cf8aa6819c545097a66f96 (patch)
treef7e0af28c85e2363faba4737f83449f64f11a5a3 /OpenSim/Framework/Communications
parent* minor refactorings (diff)
downloadopensim-SC-6d7ce67db1c62f5436cf8aa6819c545097a66f96.zip
opensim-SC-6d7ce67db1c62f5436cf8aa6819c545097a66f96.tar.gz
opensim-SC-6d7ce67db1c62f5436cf8aa6819c545097a66f96.tar.bz2
opensim-SC-6d7ce67db1c62f5436cf8aa6819c545097a66f96.tar.xz
fixed duplicate login in standalone mode (mostly untested in grid mode)
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/LoginService.cs3
-rw-r--r--OpenSim/Framework/Communications/UserManagerBase.cs4
2 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index 450bada..118668c 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -185,8 +185,7 @@ namespace OpenSim.Framework.UserManagement
185 /// <returns>Successful?</returns> 185 /// <returns>Successful?</returns>
186 public bool CommitAgent(ref UserProfileData profile) 186 public bool CommitAgent(ref UserProfileData profile)
187 { 187 {
188 // Saves the agent to database 188 return m_userManager.CommitAgent(ref profile);
189 return true;
190 } 189 }
191 190
192 191
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs
index 6916519..74dba4c 100644
--- a/OpenSim/Framework/Communications/UserManagerBase.cs
+++ b/OpenSim/Framework/Communications/UserManagerBase.cs
@@ -355,8 +355,8 @@ namespace OpenSim.Framework.UserManagement
355 /// <returns>Successful?</returns> 355 /// <returns>Successful?</returns>
356 public bool CommitAgent(ref UserProfileData profile) 356 public bool CommitAgent(ref UserProfileData profile)
357 { 357 {
358 // Saves the agent to database 358 // TODO: how is this function different from setUserProfile?
359 return true; 359 return setUserProfile(profile);
360 } 360 }
361 361
362 #endregion 362 #endregion