aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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