mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
* 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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user