aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs b/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs
index c3de98e..7d97aaa 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs
@@ -34,12 +34,12 @@ using Nini.Config;
34 34
35public static class Simian 35public static class Simian
36{ 36{
37 public static bool IsSimianEnabled(IConfigSource config, string moduleName) 37 public static bool IsSimianEnabled(IConfigSource config, string moduleName, string connectorName)
38 { 38 {
39 if (config.Configs["Modules"] != null) 39 if (config.Configs["Modules"] != null)
40 { 40 {
41 string module = config.Configs["Modules"].GetString("AuthenticationServices"); 41 string module = config.Configs["Modules"].GetString(moduleName);
42 return !String.IsNullOrEmpty(module) && module.Contains("Simian"); 42 return !String.IsNullOrEmpty(module) && module.EndsWith(connectorName);
43 } 43 }
44 44
45 return false; 45 return false;