diff options
author | Diva Canto | 2013-07-04 10:59:21 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-04 10:59:21 -0700 |
commit | ae42c93f9a2c7df4e7c14896df27544f283c8114 (patch) | |
tree | e09cb7e33cafebe1b2835008db07a2cef8c0554b /OpenSim | |
parent | HG Friends: this was commented some commits ago, but it shouldn't have been. (diff) | |
download | opensim-SC_OLD-ae42c93f9a2c7df4e7c14896df27544f283c8114.zip opensim-SC_OLD-ae42c93f9a2c7df4e7c14896df27544f283c8114.tar.gz opensim-SC_OLD-ae42c93f9a2c7df4e7c14896df27544f283c8114.tar.bz2 opensim-SC_OLD-ae42c93f9a2c7df4e7c14896df27544f283c8114.tar.xz |
Now trying to find a cause of freeze at login related to friends status notifications.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 41ea2a2..bc501b7 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -526,8 +526,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
526 | if (friendSession.RegionID != UUID.Zero) | 526 | if (friendSession.RegionID != UUID.Zero) |
527 | { | 527 | { |
528 | GridRegion region = GridService.GetRegionByUUID(m_Scenes[0].RegionInfo.ScopeID, friendSession.RegionID); | 528 | GridRegion region = GridService.GetRegionByUUID(m_Scenes[0].RegionInfo.ScopeID, friendSession.RegionID); |
529 | //m_log.DebugFormat("[FRIENDS]: Remote Notify to region {0}", region.RegionName); | 529 | if (region != null) |
530 | m_FriendsSimConnector.StatusNotify(region, userID, friendSession.UserID, online); | 530 | { |
531 | m_log.DebugFormat("[FRIENDS]: Remote Notify to region {0}", region.RegionName); | ||
532 | m_FriendsSimConnector.StatusNotify(region, userID, friendSession.UserID, online); | ||
533 | } | ||
531 | } | 534 | } |
532 | } | 535 | } |
533 | } | 536 | } |