aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2009-12-11 20:06:42 -0800
committerDiva Canto2009-12-11 20:06:42 -0800
commitd20fe7bfdd41e3526e03a384b14b84a0fd92a1c2 (patch)
tree8196835e3ce80c2ef01ee142fc4ba400f59f9e1d
parentAdded an image uuid to objects marked "Show in search". Only works for boxes. (diff)
downloadopensim-SC_OLD-d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2.zip
opensim-SC_OLD-d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2.tar.gz
opensim-SC_OLD-d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2.tar.bz2
opensim-SC_OLD-d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2.tar.xz
A couple of more sanity guards, but this won't fix things when user profile fetching is borked.
-rw-r--r--OpenSim/Framework/Communications/Clients/AuthClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Clients/AuthClient.cs b/OpenSim/Framework/Communications/Clients/AuthClient.cs
index 6b4bfec..adae637 100644
--- a/OpenSim/Framework/Communications/Clients/AuthClient.cs
+++ b/OpenSim/Framework/Communications/Clients/AuthClient.cs
@@ -136,7 +136,7 @@ namespace OpenSim.Framework.Communications.Clients
136 } 136 }
137 137
138 Hashtable responseData = (Hashtable)UserResp.Value; 138 Hashtable responseData = (Hashtable)UserResp.Value;
139 if (responseData.ContainsKey("auth_session") && responseData["auth_session"].ToString() == "TRUE") 139 if (responseData != null && responseData.ContainsKey("auth_session") && responseData["auth_session"] != null && responseData["auth_session"].ToString() == "TRUE")
140 { 140 {
141 //System.Console.WriteLine("[Authorization]: userserver reported authorized session for user " + userID); 141 //System.Console.WriteLine("[Authorization]: userserver reported authorized session for user " + userID);
142 return true; 142 return true;