mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Catch empty url error
This commit is contained in:
@@ -1123,6 +1123,9 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
|
||||
|
||||
assetServerURI = UserManagementModule.GetUserServerURL(avatarId, "AssetServerURI");
|
||||
|
||||
if(string.IsNullOrEmpty(profileServerURI) || string.IsNullOrEmpty(assetServerURI))
|
||||
return false;
|
||||
|
||||
OSDMap parameters= new OSDMap();
|
||||
parameters.Add("avatarId", OSD.FromUUID(avatarId));
|
||||
OSD Params = (OSD)parameters;
|
||||
|
||||
Reference in New Issue
Block a user