diff options
author | Justin Clark-Casey (justincc) | 2012-02-09 00:10:45 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-09 00:10:45 +0000 |
commit | dbe32a1f6d148d16c462b3b7d5a6c507743a5f9a (patch) | |
tree | 1f7894b886ddd09a6d0e2e14addafd8c5fd67663 /OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-dbe32a1f6d148d16c462b3b7d5a6c507743a5f9a.zip opensim-SC-dbe32a1f6d148d16c462b3b7d5a6c507743a5f9a.tar.gz opensim-SC-dbe32a1f6d148d16c462b3b7d5a6c507743a5f9a.tar.bz2 opensim-SC-dbe32a1f6d148d16c462b3b7d5a6c507743a5f9a.tar.xz |
minor: put in commented out logging statements for future reuse
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 3 |
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 | ||