* Fixing the SimianGrid friend connector enabled detection since the friends module uses a different pattern in the .ini file
parent
28e4302eb6
commit
d722519b31
|
@ -76,7 +76,15 @@ namespace OpenSim.Services.Connectors.SimianGrid
|
|||
|
||||
public void Initialise(IConfigSource source)
|
||||
{
|
||||
if (Simian.IsSimianEnabled(source, "FriendsServices", this.Name))
|
||||
bool isSimianEnabled = false;
|
||||
|
||||
if (source.Configs["Friends"] != null)
|
||||
{
|
||||
string module = source.Configs["Friends"].GetString("Connector");
|
||||
isSimianEnabled = !String.IsNullOrEmpty(module) && module.EndsWith(this.Name);
|
||||
}
|
||||
|
||||
if (isSimianEnabled)
|
||||
{
|
||||
IConfig assetConfig = source.Configs["FriendsService"];
|
||||
if (assetConfig == null)
|
||||
|
|
Loading…
Reference in New Issue