diff options
author | Justin Clark-Casey (justincc) | 2011-10-12 19:24:03 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-12 19:24:03 +0100 |
commit | 36e73dbc9b7fb46885865f5537c43a29239fd559 (patch) | |
tree | 4e9221a18dead97483f0d8e0da2b40864d342b6d /OpenSim | |
parent | Improve some method doc for LLUDPClient, LLUDPServer and UnackedPacketCollection (diff) | |
parent | Make it possible to disable the HG linker. On non-HG systems it spits yellow (diff) | |
download | opensim-SC_OLD-36e73dbc9b7fb46885865f5537c43a29239fd559.zip opensim-SC_OLD-36e73dbc9b7fb46885865f5537c43a29239fd559.tar.gz opensim-SC_OLD-36e73dbc9b7fb46885865f5537c43a29239fd559.tar.bz2 opensim-SC_OLD-36e73dbc9b7fb46885865f5537c43a29239fd559.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Services/GridService/HypergridLinker.cs | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs index 0800e98..a12e6ea 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs | |||
@@ -70,7 +70,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
70 | // if groups aren't enabled, we're not needed. | 70 | // if groups aren't enabled, we're not needed. |
71 | // if we're not specified as the connector to use, then we're not wanted | 71 | // if we're not specified as the connector to use, then we're not wanted |
72 | if ((groupsConfig.GetBoolean("Enabled", false) == false) | 72 | if ((groupsConfig.GetBoolean("Enabled", false) == false) |
73 | || (groupsConfig.GetString("MessagingModule", "GroupsMessagingModule") != Name)) | 73 | || (groupsConfig.GetString("MessagingModule", "") != Name)) |
74 | { | 74 | { |
75 | m_groupMessagingEnabled = false; | 75 | m_groupMessagingEnabled = false; |
76 | return; | 76 | return; |
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index 83ec122..90c022f 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -102,6 +102,13 @@ namespace OpenSim.Services.GridService | |||
102 | 102 | ||
103 | public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db) | 103 | public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db) |
104 | { | 104 | { |
105 | IConfig modulesConfig = config.Configs["Modules"]; | ||
106 | if (modulesConfig == null) | ||
107 | return; | ||
108 | |||
109 | if (modulesConfig.GetString("HypergridLinker", "") != "HypergridLinker") | ||
110 | return; | ||
111 | |||
105 | m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType()); | 112 | m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType()); |
106 | 113 | ||
107 | m_Database = db; | 114 | m_Database = db; |