diff options
Diffstat (limited to 'OpenSim/Grid/UserServer/UserManager.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/UserManager.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index 706f461..a82505d 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -57,7 +57,7 @@ namespace OpenSim.Grid.UserServer | |||
57 | /// <param name="httpRequest">HTTP request header object</param> | 57 | /// <param name="httpRequest">HTTP request header object</param> |
58 | /// <param name="httpResponse">HTTP response header object</param> | 58 | /// <param name="httpResponse">HTTP response header object</param> |
59 | /// <returns>Success "OK" else error</returns> | 59 | /// <returns>Success "OK" else error</returns> |
60 | public string RestDeleteUserSessionMethod(string request, string path, string param, | 60 | public string RestDeleteUserSessionMethod(string request, string path, string param, |
61 | OSHttpRequest httpRequest, OSHttpResponse httpResponse) | 61 | OSHttpRequest httpRequest, OSHttpResponse httpResponse) |
62 | { | 62 | { |
63 | // TODO! Important! | 63 | // TODO! Important! |
@@ -260,11 +260,14 @@ namespace OpenSim.Grid.UserServer | |||
260 | if (requestData.Contains("owner")) | 260 | if (requestData.Contains("owner")) |
261 | { | 261 | { |
262 | appearance = GetUserAppearance(new LLUUID((string)requestData["owner"])); | 262 | appearance = GetUserAppearance(new LLUUID((string)requestData["owner"])); |
263 | if (appearance == null) { | 263 | if (appearance == null) |
264 | { | ||
264 | responseData = new Hashtable(); | 265 | responseData = new Hashtable(); |
265 | responseData["error_type"] = "no appearance"; | 266 | responseData["error_type"] = "no appearance"; |
266 | responseData["error_desc"] = "There was no appearance found for this avatar"; | 267 | responseData["error_desc"] = "There was no appearance found for this avatar"; |
267 | } else { | 268 | } |
269 | else | ||
270 | { | ||
268 | responseData = appearance.ToHashTable(); | 271 | responseData = appearance.ToHashTable(); |
269 | } | 272 | } |
270 | } | 273 | } |