Go back to calling IncomingCloseAgent() in the "kick user" command for consistency instead of IClientAPI.Close() directly.
This no longer double counts child agent removals0.7.3-extended
parent
28f93512bc
commit
ba0ebe6d75
|
@ -486,7 +486,7 @@ namespace OpenSim
|
|||
else
|
||||
presence.ControllingClient.Kick("\nThe OpenSim manager kicked you out.\n");
|
||||
|
||||
presence.ControllingClient.Close();
|
||||
presence.Scene.IncomingCloseAgent(presence.UUID);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -720,12 +720,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public int GetChildAgentCount()
|
||||
{
|
||||
// some network situations come in where child agents get closed twice.
|
||||
// if (m_numChildAgents < 0)
|
||||
// {
|
||||
// m_numChildAgents = 0;
|
||||
// }
|
||||
|
||||
return m_numChildAgents;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue