aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-30 02:14:29 +0000
committerTeravus Ovares2007-11-30 02:14:29 +0000
commit3ab3392defb1a8d6f1605ce37579158ed83d1c20 (patch)
treeba545c5a5fcb24ffeaa1e102af24ea5f839ce70c
parent* Here's the issue, on log-off, the routine sets up a null useragent member a... (diff)
downloadopensim-SC_OLD-3ab3392defb1a8d6f1605ce37579158ed83d1c20.zip
opensim-SC_OLD-3ab3392defb1a8d6f1605ce37579158ed83d1c20.tar.gz
opensim-SC_OLD-3ab3392defb1a8d6f1605ce37579158ed83d1c20.tar.bz2
opensim-SC_OLD-3ab3392defb1a8d6f1605ce37579158ed83d1c20.tar.xz
* This extends my first hack to clear out the useragent table for that specific user.
* This helps people who have multiple records in their useragent table. * This update should be looked at.. because really what it should be doing is initiating a grid wide logoff.
-rw-r--r--OpenSim/Framework/Communications/LoginService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index 9177704..1d53669 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -99,7 +99,7 @@ namespace OpenSim.Framework.UserManagement
99 99
100 if (userProfile.currentAgent != null && userProfile.currentAgent.agentOnline) 100 if (userProfile.currentAgent != null && userProfile.currentAgent.agentOnline)
101 { 101 {
102 userProfile.currentAgent.agentOnline = false; 102 userProfile.currentAgent = null;
103 m_userManager.CommitAgent(ref userProfile); 103 m_userManager.CommitAgent(ref userProfile);
104 104
105 // Reject the login 105 // Reject the login