* 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.afrisby
parent
57e6b51639
commit
3ab3392def
|
@ -99,7 +99,7 @@ namespace OpenSim.Framework.UserManagement
|
||||||
|
|
||||||
if (userProfile.currentAgent != null && userProfile.currentAgent.agentOnline)
|
if (userProfile.currentAgent != null && userProfile.currentAgent.agentOnline)
|
||||||
{
|
{
|
||||||
userProfile.currentAgent.agentOnline = false;
|
userProfile.currentAgent = null;
|
||||||
m_userManager.CommitAgent(ref userProfile);
|
m_userManager.CommitAgent(ref userProfile);
|
||||||
|
|
||||||
// Reject the login
|
// Reject the login
|
||||||
|
|
Loading…
Reference in New Issue