aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/HGAssetService.cs
diff options
context:
space:
mode:
authorDiva Canto2012-03-27 10:08:13 -0700
committerDiva Canto2012-03-27 10:08:13 -0700
commit8131a24cde3f3877b3b8dd850871c57c17b2b216 (patch)
treec5909ee4f38507d0d48ab98274b1507170325bcd /OpenSim/Services/HypergridService/HGAssetService.cs
parentAdd some more overloads to allow registering overloaded methods and lists (diff)
downloadopensim-SC-8131a24cde3f3877b3b8dd850871c57c17b2b216.zip
opensim-SC-8131a24cde3f3877b3b8dd850871c57c17b2b216.tar.gz
opensim-SC-8131a24cde3f3877b3b8dd850871c57c17b2b216.tar.bz2
opensim-SC-8131a24cde3f3877b3b8dd850871c57c17b2b216.tar.xz
Send the config section name up to the service classes themselves (XInventory and Assets).
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/HypergridService/HGAssetService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/HypergridService/HGAssetService.cs b/OpenSim/Services/HypergridService/HGAssetService.cs
index 22e233a..db98166 100644
--- a/OpenSim/Services/HypergridService/HGAssetService.cs
+++ b/OpenSim/Services/HypergridService/HGAssetService.cs
@@ -58,10 +58,10 @@ namespace OpenSim.Services.HypergridService
58 58
59 private UserAccountCache m_Cache; 59 private UserAccountCache m_Cache;
60 60
61 public HGAssetService(IConfigSource config) : base(config) 61 public HGAssetService(IConfigSource config, string configName) : base(config, configName)
62 { 62 {
63 m_log.Debug("[HGAsset Service]: Starting"); 63 m_log.Debug("[HGAsset Service]: Starting");
64 IConfig assetConfig = config.Configs["HGAssetService"]; 64 IConfig assetConfig = config.Configs[configName];
65 if (assetConfig == null) 65 if (assetConfig == null)
66 throw new Exception("No HGAssetService configuration"); 66 throw new Exception("No HGAssetService configuration");
67 67