update libomv with a few changes on uuid

This commit is contained in:
UbitUmarov
2022-01-09 21:50:14 +00:00
parent 70a788170d
commit 94adb4f86e
5 changed files with 5 additions and 7 deletions

View File

@@ -54,18 +54,16 @@ namespace OpenSim.Server.Handlers.Asset
if (serverConfig == null)
throw new Exception(String.Format("No section '{0}' in config file", m_ConfigName));
string assetService = serverConfig.GetString("LocalServiceModule",
String.Empty);
string assetService = serverConfig.GetString("LocalServiceModule", string.Empty);
if (assetService == String.Empty)
if (string.IsNullOrEmpty(assetService))
throw new Exception("No LocalServiceModule in config file");
Object[] args = new Object[] { config, m_ConfigName };
m_AssetService =
ServerUtils.LoadPlugin<IAssetService>(assetService, args);
object[] args = new object[] { config, m_ConfigName };
m_AssetService = ServerUtils.LoadPlugin<IAssetService>(assetService, args);
if (m_AssetService == null)
throw new Exception(String.Format("Failed to load AssetService from {0}; config is {1}", assetService, m_ConfigName));
throw new Exception(string.Format("Failed to load AssetService from {0}; config is {1}", assetService, m_ConfigName));
bool allowDelete = serverConfig.GetBoolean("AllowRemoteDelete", false);
bool allowDeleteAllTypes = serverConfig.GetBoolean("AllowRemoteDeleteAllTypes", false);

Binary file not shown.

Binary file not shown.

Binary file not shown.