diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Inventory/Transfer/InventoryTransferModule.cs | 9 |
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); |