aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
diff options
context:
space:
mode:
authorKitto Flora2010-03-19 19:14:09 -0400
committerKitto Flora2010-03-19 19:14:09 -0400
commit0f5fb6f1901b0950ac52446702b07c91d16724d7 (patch)
tree72305ac8d95eccd4e7432538f061429e25e3418d /OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
parentFix AbsolutePosition for autopilot/sit. (diff)
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-0f5fb6f1901b0950ac52446702b07c91d16724d7.zip
opensim-SC-0f5fb6f1901b0950ac52446702b07c91d16724d7.tar.gz
opensim-SC-0f5fb6f1901b0950ac52446702b07c91d16724d7.tar.bz2
opensim-SC-0f5fb6f1901b0950ac52446702b07c91d16724d7.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
index b3ecc7e..89eb72d 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
@@ -76,7 +76,15 @@ namespace OpenSim.Services.Connectors.SimianGrid
76 76
77 public void Initialise(IConfigSource source) 77 public void Initialise(IConfigSource source)
78 { 78 {
79 if (Simian.IsSimianEnabled(source, "FriendsServices")) 79 bool isSimianEnabled = false;
80
81 if (source.Configs["Friends"] != null)
82 {
83 string module = source.Configs["Friends"].GetString("Connector");
84 isSimianEnabled = !String.IsNullOrEmpty(module) && module.EndsWith(this.Name);
85 }
86
87 if (isSimianEnabled)
80 { 88 {
81 IConfig assetConfig = source.Configs["FriendsService"]; 89 IConfig assetConfig = source.Configs["FriendsService"];
82 if (assetConfig == null) 90 if (assetConfig == null)