More debug related to the previous commit

cpu-performance
Diva Canto 2013-07-04 11:18:05 -07:00
parent ae42c93f9a
commit 0cc0a2485c
1 changed files with 1 additions and 1 deletions

View File

@ -526,9 +526,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
if (friendSession.RegionID != UUID.Zero) if (friendSession.RegionID != UUID.Zero)
{ {
GridRegion region = GridService.GetRegionByUUID(m_Scenes[0].RegionInfo.ScopeID, friendSession.RegionID); GridRegion region = GridService.GetRegionByUUID(m_Scenes[0].RegionInfo.ScopeID, friendSession.RegionID);
m_log.DebugFormat("[FRIENDS]: Remote Notify to region {0}", (region == null ? "null" : region.RegionName));
if (region != null) if (region != null)
{ {
m_log.DebugFormat("[FRIENDS]: Remote Notify to region {0}", region.RegionName);
m_FriendsSimConnector.StatusNotify(region, userID, friendSession.UserID, online); m_FriendsSimConnector.StatusNotify(region, userID, friendSession.UserID, online);
} }
} }