diff options
author | diva | 2009-03-30 17:34:36 +0000 |
---|---|---|
committer | diva | 2009-03-30 17:34:36 +0000 |
commit | 695780375924693105aa9b5a06bfe81a28393373 (patch) | |
tree | ed2a5d35411c8f23a93690214724efd387f5922c /OpenSim/Framework/Communications/Services/HGInventoryService.cs | |
parent | * Remove a debug line of localIDs (diff) | |
download | opensim-SC-695780375924693105aa9b5a06bfe81a28393373.zip opensim-SC-695780375924693105aa9b5a06bfe81a28393373.tar.gz opensim-SC-695780375924693105aa9b5a06bfe81a28393373.tar.bz2 opensim-SC-695780375924693105aa9b5a06bfe81a28393373.tar.xz |
Sigh. Manual data typing grief.
Diffstat (limited to 'OpenSim/Framework/Communications/Services/HGInventoryService.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Services/HGInventoryService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Services/HGInventoryService.cs b/OpenSim/Framework/Communications/Services/HGInventoryService.cs index eef9e80..b01c30e 100644 --- a/OpenSim/Framework/Communications/Services/HGInventoryService.cs +++ b/OpenSim/Framework/Communications/Services/HGInventoryService.cs | |||
@@ -490,7 +490,7 @@ namespace OpenSim.Framework.Communications.Services | |||
490 | // This is the meaning of POST agent | 490 | // This is the meaning of POST agent |
491 | 491 | ||
492 | // Check Auth Token | 492 | // Check Auth Token |
493 | if (!(m_userService is IAuthentication)) | 493 | if ((m_userService != null) && !(m_userService is IAuthentication)) |
494 | { | 494 | { |
495 | m_log.Debug("[HGStandaloneInvService]: UserService is not IAuthentication. Denying access to inventory."); | 495 | m_log.Debug("[HGStandaloneInvService]: UserService is not IAuthentication. Denying access to inventory."); |
496 | responsedata["int_response_code"] = 501; | 496 | responsedata["int_response_code"] = 501; |
@@ -499,6 +499,7 @@ namespace OpenSim.Framework.Communications.Services | |||
499 | } | 499 | } |
500 | 500 | ||
501 | bool success = VerifyKey(userID, authToken); | 501 | bool success = VerifyKey(userID, authToken); |
502 | m_log.Debug("[HGStandaloneInvService]: Key verification returned " + success); | ||
502 | 503 | ||
503 | if (success) | 504 | if (success) |
504 | { | 505 | { |