aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-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 }