diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs b/OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs index a168bfe..4d0568d 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs | |||
@@ -421,7 +421,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
421 | // foreign user is visiting, we need to try again after the first fail to the local | 421 | // foreign user is visiting, we need to try again after the first fail to the local |
422 | // asset service. | 422 | // asset service. |
423 | string assetServerURL = string.Empty; | 423 | string assetServerURL = string.Empty; |
424 | if (InventoryAccessModule.IsForeignUser(AgentID, out assetServerURL)) | 424 | if (InventoryAccessModule.IsForeignUser(AgentID, out assetServerURL) && !string.IsNullOrEmpty(assetServerURL)) |
425 | { | 425 | { |
426 | if (!assetServerURL.EndsWith("/") && !assetServerURL.EndsWith("=")) | 426 | if (!assetServerURL.EndsWith("/") && !assetServerURL.EndsWith("=")) |
427 | assetServerURL = assetServerURL + "/"; | 427 | assetServerURL = assetServerURL + "/"; |