diff options
author | Diva Canto | 2009-12-11 20:06:42 -0800 |
---|---|---|
committer | Diva Canto | 2009-12-11 20:06:42 -0800 |
commit | d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2 (patch) | |
tree | 8196835e3ce80c2ef01ee142fc4ba400f59f9e1d /OpenSim/Framework/Communications | |
parent | Added an image uuid to objects marked "Show in search". Only works for boxes. (diff) | |
download | opensim-SC-d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2.zip opensim-SC-d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2.tar.gz opensim-SC-d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2.tar.bz2 opensim-SC-d20fe7bfdd41e3526e03a384b14b84a0fd92a1c2.tar.xz |
A couple of more sanity guards, but this won't fix things when user profile fetching is borked.
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Clients/AuthClient.cs | 2 |
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; |