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.

This commit is contained in:
Diva Canto
2011-06-07 10:51:12 -07:00
parent 1a23d322ac
commit f5d82350bb
6 changed files with 32 additions and 33 deletions

View File

@@ -482,7 +482,7 @@ namespace OpenSim.Services.HypergridService
{
foreach (TravelingAgentInfo t in m_TravelingAgents.Values)
{
if (t.UserID == userID)
if (t.UserID == userID && !m_GridName.Equals(t.GridExternalName))
return t.GridExternalName;
}