diff options
author | Diva Canto | 2011-06-07 10:51:12 -0700 |
---|---|---|
committer | Diva Canto | 2011-06-07 10:51:12 -0700 |
commit | f5d82350bb622baa6f49042882e6c5cb49b24cc0 (patch) | |
tree | 1a81ac14685a3b826467a2f6c96a9738b9046c42 /OpenSim/Services/HypergridService/UserAgentService.cs | |
parent | More on the hunt for the slow down on HGFriendsModule. - Don't requests the o... (diff) | |
download | opensim-SC-f5d82350bb622baa6f49042882e6c5cb49b24cc0.zip opensim-SC-f5d82350bb622baa6f49042882e6c5cb49b24cc0.tar.gz opensim-SC-f5d82350bb622baa6f49042882e6c5cb49b24cc0.tar.bz2 opensim-SC-f5d82350bb622baa6f49042882e6c5cb49b24cc0.tar.xz |
This fixes the crash reported in http://opensimulator.org/mantis/view.php?id=5529 related to sending IMs to foreign friends who are offline. Hopefully.
Diffstat (limited to 'OpenSim/Services/HypergridService/UserAgentService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index 2f2ebfb..8d78f97 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs | |||
@@ -482,7 +482,7 @@ namespace OpenSim.Services.HypergridService | |||
482 | { | 482 | { |
483 | foreach (TravelingAgentInfo t in m_TravelingAgents.Values) | 483 | foreach (TravelingAgentInfo t in m_TravelingAgents.Values) |
484 | { | 484 | { |
485 | if (t.UserID == userID) | 485 | if (t.UserID == userID && !m_GridName.Equals(t.GridExternalName)) |
486 | return t.GridExternalName; | 486 | return t.GridExternalName; |
487 | } | 487 | } |
488 | 488 | ||