aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs
index b357805..bcf20be 100644
--- a/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs
+++ b/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs
@@ -143,8 +143,8 @@ namespace OpenSim.Region.CoreModules.InterGrid
143 { 143 {
144 if (m_scene.Count == 0) 144 if (m_scene.Count == 0)
145 { 145 {
146 scene.CommsManager.HttpServer.AddLLSDHandler("/agent/", ProcessAgentDomainMessage); 146 MainServer.Instance.AddLLSDHandler("/agent/", ProcessAgentDomainMessage);
147 scene.CommsManager.HttpServer.AddLLSDHandler("/", ProcessRegionDomainSeed); 147 MainServer.Instance.AddLLSDHandler("/", ProcessRegionDomainSeed);
148 try 148 try
149 { 149 {
150 ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation; 150 ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation;
@@ -169,7 +169,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
169 // a zero length region name would conflict with are base region seed cap 169 // a zero length region name would conflict with are base region seed cap
170 if (!SceneListDuplicateCheck(scene.RegionInfo.RegionName) && scene.RegionInfo.RegionName.ToLower() != "agent" && scene.RegionInfo.RegionName.Length > 0) 170 if (!SceneListDuplicateCheck(scene.RegionInfo.RegionName) && scene.RegionInfo.RegionName.ToLower() != "agent" && scene.RegionInfo.RegionName.Length > 0)
171 { 171 {
172 scene.CommsManager.HttpServer.AddLLSDHandler( 172 MainServer.Instance.AddLLSDHandler(
173 "/" + HttpUtility.UrlPathEncode(scene.RegionInfo.RegionName.ToLower()), 173 "/" + HttpUtility.UrlPathEncode(scene.RegionInfo.RegionName.ToLower()),
174 ProcessRegionDomainSeed); 174 ProcessRegionDomainSeed);
175 } 175 }