mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Kicking child agents off on the first login after a client crash. The child agents kickoff was
missing from when this is run in grid mode. But, worse, turns out that this whole feature of kicking off the user after a crash was entirely missing from standalone mode.
This commit is contained in:
@@ -2946,6 +2946,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
if (RegionSecret == loggingOffUser.ControllingClient.SecureSessionId)
|
||||
{
|
||||
m_sceneGridService.SendCloseChildAgentConnections(loggingOffUser.UUID, new List<ulong>(loggingOffUser.KnownRegions.Keys));
|
||||
loggingOffUser.ControllingClient.Kick(message);
|
||||
// Give them a second to receive the message!
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
|
||||
Reference in New Issue
Block a user