diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/InterGrid')
-rw-r--r-- | OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs index cbc4615..8534b56 100644 --- a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs +++ b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs | |||
@@ -147,8 +147,8 @@ namespace OpenSim.Region.Environment.Modules.InterGrid | |||
147 | { | 147 | { |
148 | if (m_scene.Count == 0) | 148 | if (m_scene.Count == 0) |
149 | { | 149 | { |
150 | scene.AddLLSDHandler("/agent/", ProcessAgentDomainMessage); | 150 | scene.CommsManager.HttpServer.AddLLSDHandler("/agent/", ProcessAgentDomainMessage); |
151 | scene.AddLLSDHandler("/", ProcessRegionDomainSeed); | 151 | scene.CommsManager.HttpServer.AddLLSDHandler("/", ProcessRegionDomainSeed); |
152 | try | 152 | try |
153 | { | 153 | { |
154 | ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation; | 154 | ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation; |
@@ -173,7 +173,9 @@ namespace OpenSim.Region.Environment.Modules.InterGrid | |||
173 | // a zero length region name would conflict with are base region seed cap | 173 | // a zero length region name would conflict with are base region seed cap |
174 | if (!SceneListDuplicateCheck(scene.RegionInfo.RegionName) && scene.RegionInfo.RegionName.ToLower() != "agent" && scene.RegionInfo.RegionName.Length > 0) | 174 | if (!SceneListDuplicateCheck(scene.RegionInfo.RegionName) && scene.RegionInfo.RegionName.ToLower() != "agent" && scene.RegionInfo.RegionName.Length > 0) |
175 | { | 175 | { |
176 | scene.AddLLSDHandler("/" + HttpUtility.UrlPathEncode(scene.RegionInfo.RegionName.ToLower()),ProcessRegionDomainSeed); | 176 | scene.CommsManager.HttpServer.AddLLSDHandler( |
177 | "/" + HttpUtility.UrlPathEncode(scene.RegionInfo.RegionName.ToLower()), | ||
178 | ProcessRegionDomainSeed); | ||
177 | } | 179 | } |
178 | 180 | ||
179 | if (!m_scene.Contains(scene)) | 181 | if (!m_scene.Contains(scene)) |