aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/OpenSimMain.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs
index 1fd24b7..1589171 100644
--- a/OpenSim.RegionServer/OpenSimMain.cs
+++ b/OpenSim.RegionServer/OpenSimMain.cs
@@ -196,9 +196,11 @@ namespace OpenSim
196 GridServers.AssetServer.SetServerInfo((string)((RemoteGridBase)GridServers.GridServer).GridData["asset_url"], (string)((RemoteGridBase)GridServers.GridServer).GridData["asset_sendkey"]); 196 GridServers.AssetServer.SetServerInfo((string)((RemoteGridBase)GridServers.GridServer).GridData["asset_url"], (string)((RemoteGridBase)GridServers.GridServer).GridData["asset_sendkey"]);
197 197
198 // If we are being told to load a file, load it. 198 // If we are being told to load a file, load it.
199 if (((string)((RemoteGridBase)GridServers.GridServer).GridData["data_uri"]) != "") 199 string dataUri = (string)((RemoteGridBase)GridServers.GridServer).GridData["data_uri"];
200
201 if ( !String.IsNullOrEmpty( dataUri ) )
200 { 202 {
201 this.LocalWorld.m_datastore = ((string)((RemoteGridBase)GridServers.GridServer).GridData["data_uri"]); 203 this.LocalWorld.m_datastore = dataUri;
202 } 204 }
203 205
204 if (((RemoteGridBase)(GridServers.GridServer)).GridData["regionname"].ToString() != "") 206 if (((RemoteGridBase)(GridServers.GridServer)).GridData["regionname"].ToString() != "")