mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Make the inventory transfer module replacable in config.
This commit is contained in:
@@ -55,6 +55,15 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
|
||||
|
||||
public void Initialise(Scene scene, IConfigSource config)
|
||||
{
|
||||
if (config.Configs["Messaging"] != null)
|
||||
{
|
||||
// Allow disabling this module in config
|
||||
//
|
||||
if (config.Configs["Messaging"].GetString(
|
||||
"InventoryTransferModule", "InventoryTransferModule") !=
|
||||
"InventoryTransferModule")
|
||||
return;
|
||||
}
|
||||
if (!m_Scenelist.Contains(scene))
|
||||
{
|
||||
m_Scenelist.Add(scene);
|
||||
|
||||
Reference in New Issue
Block a user