From cffe39b95f1fb025fa696f71a9f1408038b1e316 Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Mon, 15 Mar 2010 20:52:41 -0700 Subject: [PATCH] * Fixed a bug in Simian.IsSimianEnabled (since the default module strings follow the form OpenSim.Services.Connectors.dll:SimianGridServiceConnector instead of SimianGridServiceConnector) --- OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs b/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs index 166df41352..7d97aaa3e8 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianGrid.cs @@ -39,7 +39,7 @@ public static class Simian if (config.Configs["Modules"] != null) { string module = config.Configs["Modules"].GetString(moduleName); - return !String.IsNullOrEmpty(module) && module == connectorName; + return !String.IsNullOrEmpty(module) && module.EndsWith(connectorName); } return false;