From 3ab3392defb1a8d6f1605ce37579158ed83d1c20 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 30 Nov 2007 02:14:29 +0000 Subject: [PATCH] * 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. --- OpenSim/Framework/Communications/LoginService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index 91777040ff..1d536691be 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs @@ -99,7 +99,7 @@ namespace OpenSim.Framework.UserManagement if (userProfile.currentAgent != null && userProfile.currentAgent.agentOnline) { - userProfile.currentAgent.agentOnline = false; + userProfile.currentAgent = null; m_userManager.CommitAgent(ref userProfile); // Reject the login