diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs b/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs index a20b5ba..0f2ba32 100644 --- a/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs +++ b/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs | |||
@@ -89,7 +89,7 @@ namespace OpenSim.Region.CoreModules.InterGrid | |||
89 | if (m_settings.Configs["Startup"].GetBoolean("gridmode", false)) | 89 | if (m_settings.Configs["Startup"].GetBoolean("gridmode", false)) |
90 | { | 90 | { |
91 | m_com = m_scenes[0].CommsManager; | 91 | m_com = m_scenes[0].CommsManager; |
92 | m_com.HttpServer.AddXmlRPCHandler("grid_message", GridWideMessage); | 92 | MainServer.Instance.AddXmlRPCHandler("grid_message", GridWideMessage); |
93 | } | 93 | } |
94 | } | 94 | } |
95 | 95 | ||
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 | } |