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.4.1
parent
d547bcf8d1
commit
5c162ccd57
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -702,12 +702,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