aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
index 6a48b89..8701431 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
@@ -292,13 +292,16 @@ namespace OpenSim.Region.OptionalModules.World.NPC
292 NPCAvatar av; 292 NPCAvatar av;
293 if (m_avatars.TryGetValue(agentID, out av)) 293 if (m_avatars.TryGetValue(agentID, out av))
294 { 294 {
295// m_log.DebugFormat("[NPC MODULE]: Found {0} {1} to remove", agentID, av.Name);
295 scene.RemoveClient(agentID, false); 296 scene.RemoveClient(agentID, false);
296 m_avatars.Remove(agentID); 297 m_avatars.Remove(agentID);
297 298
299// m_log.DebugFormat("[NPC MODULE]: Removed {0} {1}", agentID, av.Name);
298 return true; 300 return true;
299 } 301 }
300 } 302 }
301 303
304// m_log.DebugFormat("[NPC MODULE]: Could not find {0} to remove", agentID);
302 return false; 305 return false;
303 } 306 }
304 307