diff options
Diffstat (limited to '')
-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 | { |