aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-01 17:05:28 +0000
committerMelanie Thielker2008-11-01 17:05:28 +0000
commit865b5bb3170ee993927df90c85dabd3085f23d4c (patch)
tree7a656be483b73dbddbc8bb3060b686c1b1a6bc74 /OpenSim/Region/Environment/Modules/Avatar
parentCorrect the handling of the creator field on inventory gives (diff)
downloadopensim-SC_OLD-865b5bb3170ee993927df90c85dabd3085f23d4c.zip
opensim-SC_OLD-865b5bb3170ee993927df90c85dabd3085f23d4c.tar.gz
opensim-SC_OLD-865b5bb3170ee993927df90c85dabd3085f23d4c.tar.bz2
opensim-SC_OLD-865b5bb3170ee993927df90c85dabd3085f23d4c.tar.xz
Make the inventory transfer module replacable in config.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
index b18fb5d..a07fc5f 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
@@ -55,6 +55,15 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
55 55
56 public void Initialise(Scene scene, IConfigSource config) 56 public void Initialise(Scene scene, IConfigSource config)
57 { 57 {
58 if (config.Configs["Messaging"] != null)
59 {
60 // Allow disabling this module in config
61 //
62 if (config.Configs["Messaging"].GetString(
63 "InventoryTransferModule", "InventoryTransferModule") !=
64 "InventoryTransferModule")
65 return;
66 }
58 if (!m_Scenelist.Contains(scene)) 67 if (!m_Scenelist.Contains(scene))
59 { 68 {
60 m_Scenelist.Add(scene); 69 m_Scenelist.Add(scene);