diff options
author | Diva Canto | 2012-03-27 10:08:13 -0700 |
---|---|---|
committer | Diva Canto | 2012-03-27 10:08:13 -0700 |
commit | 8131a24cde3f3877b3b8dd850871c57c17b2b216 (patch) | |
tree | c5909ee4f38507d0d48ab98274b1507170325bcd /OpenSim/Services/HypergridService/HGAssetService.cs | |
parent | Add some more overloads to allow registering overloaded methods and lists (diff) | |
download | opensim-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.cs | 4 |
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 | ||