More debug related to the previous commit

This commit is contained in:
Diva Canto
2013-07-04 11:18:05 -07:00
parent ae42c93f9a
commit 0cc0a2485c

View File

@@ -526,9 +526,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
if (friendSession.RegionID != UUID.Zero)
{
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)
{
m_log.DebugFormat("[FRIENDS]: Remote Notify to region {0}", region.RegionName);
m_FriendsSimConnector.StatusNotify(region, userID, friendSession.UserID, online);
}
}