* Move standalone login setup in LLStandaloneLoginmodule to RegionLoaded() from AddRegion()

* This is necessary to avoid a dependency problem where LLStandaloneLoginModule references IInventoryService before the LocalInventoryServiceConnector is registered
* Correct some copypasta log messages in LocalInventoryServiceConnector
This commit is contained in:
Justin Clarke Casey
2009-06-12 15:41:53 +00:00
parent e6e88ac126
commit 45342067f5
2 changed files with 39 additions and 33 deletions

View File

@@ -105,7 +105,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Inventory
//}
m_Enabled = true;
m_log.Info("[INVENTORY CONNECTOR]: Local asset connector enabled");
m_log.Info("[INVENTORY CONNECTOR]: Local inventory connector enabled");
}
}
}
@@ -120,6 +120,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Inventory
public void AddRegion(Scene scene)
{
m_log.DebugFormat("HEEEERE");
if (!m_Enabled)
return;
@@ -131,8 +132,10 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Inventory
m_Initialized = true;
}
m_log.DebugFormat(
"[INVENTORY CONNECTOR]: Registering IInventoryService to scene {0}", scene.RegionInfo.RegionName);
scene.RegisterModuleInterface<IInventoryService>(this);
}
public void RemoveRegion(Scene scene)
@@ -144,8 +147,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Inventory
if (!m_Enabled)
return;
m_log.InfoFormat("[INVENTORY CONNECTOR]: Enabled local assets for region {0}", scene.RegionInfo.RegionName);
m_log.InfoFormat(
"[INVENTORY CONNECTOR]: Enabled local invnetory for region {0}", scene.RegionInfo.RegionName);
}
#region IInventoryService