aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorDiva Canto2011-06-07 20:05:24 -0700
committerDiva Canto2011-06-07 20:05:24 -0700
commiteabfc9ca153b1b9775bada56c2c0120768a77fda (patch)
treeb0874a83f9731c71c9d2e65b9b98f440c63d1cc6 /OpenSim/Services
parentThis hopefully fixes all issues with online/offline notifications across grid... (diff)
downloadopensim-SC_OLD-eabfc9ca153b1b9775bada56c2c0120768a77fda.zip
opensim-SC_OLD-eabfc9ca153b1b9775bada56c2c0120768a77fda.tar.gz
opensim-SC_OLD-eabfc9ca153b1b9775bada56c2c0120768a77fda.tar.bz2
opensim-SC_OLD-eabfc9ca153b1b9775bada56c2c0120768a77fda.tar.xz
Added error message to help understand http://opensimulator.org/mantis/view.php?id=5527
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/HypergridService/UserAgentService.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs
index 29d8b3d..7ed5ea5 100644
--- a/OpenSim/Services/HypergridService/UserAgentService.cs
+++ b/OpenSim/Services/HypergridService/UserAgentService.cs
@@ -496,6 +496,11 @@ namespace OpenSim.Services.HypergridService
496 { 496 {
497 foreach (TravelingAgentInfo t in m_TravelingAgents.Values) 497 foreach (TravelingAgentInfo t in m_TravelingAgents.Values)
498 { 498 {
499 if (t == null)
500 {
501 m_log.ErrorFormat("[USER AGENT SERVICE]: Oops! Null TravelingAgentInfo. Please report this on mantis");
502 continue;
503 }
499 if (t.UserID == userID && !m_GridName.Equals(t.GridExternalName)) 504 if (t.UserID == userID && !m_GridName.Equals(t.GridExternalName))
500 return t.GridExternalName; 505 return t.GridExternalName;
501 } 506 }