diff options
author | Diva Canto | 2012-09-21 15:04:41 -0700 |
---|---|---|
committer | Diva Canto | 2012-09-21 15:04:41 -0700 |
commit | f931c0a86893799548d1d0f72c327c37823e4612 (patch) | |
tree | e82a8afaf36dc10c245354bc51989ca5b04b9943 /OpenSim/Region | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-f931c0a86893799548d1d0f72c327c37823e4612.zip opensim-SC-f931c0a86893799548d1d0f72c327c37823e4612.tar.gz opensim-SC-f931c0a86893799548d1d0f72c327c37823e4612.tar.bz2 opensim-SC-f931c0a86893799548d1d0f72c327c37823e4612.tar.xz |
Minor: may avoid crashes of sims that still don't have this configuration section.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs index 0456852..1e1c7d0 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs | |||
@@ -131,7 +131,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset | |||
131 | m_LocalAssetServiceURI = m_LocalAssetServiceURI.Trim('/'); | 131 | m_LocalAssetServiceURI = m_LocalAssetServiceURI.Trim('/'); |
132 | 132 | ||
133 | IConfig hgConfig = source.Configs["HGAssetService"]; | 133 | IConfig hgConfig = source.Configs["HGAssetService"]; |
134 | m_AssetPerms = new AssetPermissions(hgConfig); | 134 | m_AssetPerms = new AssetPermissions(hgConfig); // it's ok if arg is null |
135 | 135 | ||
136 | m_Enabled = true; | 136 | m_Enabled = true; |
137 | m_log.Info("[HG ASSET CONNECTOR]: HG asset broker enabled"); | 137 | m_log.Info("[HG ASSET CONNECTOR]: HG asset broker enabled"); |