From 0bfba122f0b9ea036d18020c64110d041ff56151 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 22 Sep 2014 18:49:08 +0200 Subject: When a ghosted avatar is removed, also remove any remaining CAPS --- OpenSim/Region/Framework/Scenes/Scene.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 55e7da4..769b4e8 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -4752,6 +4752,8 @@ namespace OpenSim.Region.Framework.Scenes if (m_clientManager.TryGetValue(agentID, out client)) { m_clientManager.Remove(agentID); + if (CapsModule != null) + CapsModule.RemoveCaps(agentID, 0); m_log.DebugFormat( "[SCENE]: Dead client for agent ID {0} was cleaned up in {1}", agentID, Name); return true; } -- cgit v1.1