diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs b/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs index 67af7b5..74cf354 100644 --- a/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs +++ b/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs | |||
@@ -58,7 +58,10 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions | |||
58 | region_id = regInfo.RegionID.ToString(); | 58 | region_id = regInfo.RegionID.ToString(); |
59 | region_x = regInfo.RegionLocX; | 59 | region_x = regInfo.RegionLocX; |
60 | region_y = regInfo.RegionLocY; | 60 | region_y = regInfo.RegionLocY; |
61 | region_owner_id = regInfo.MasterAvatarAssignedUUID.ToString(); | 61 | if (regInfo.EstateSettings.EstateOwner != LLUUID.Zero) |
62 | region_owner_id = regInfo.EstateSettings.EstateOwner.ToString(); | ||
63 | else | ||
64 | region_owner_id = regInfo.MasterAvatarAssignedUUID.ToString(); | ||
62 | region_http_port = regInfo.HttpPort; | 65 | region_http_port = regInfo.HttpPort; |
63 | region_server_uri = regInfo.ServerURI; | 66 | region_server_uri = regInfo.ServerURI; |
64 | region_external_hostname = regInfo.ExternalHostName; | 67 | region_external_hostname = regInfo.ExternalHostName; |