From 7198d7980d54c130e720c3fd5049e5525a1480e4 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 12 Jul 2007 15:30:09 +0000 Subject: Next time maybe I should check it still compiles before committing. --- OpenSim/Framework/General/Interfaces/IClientAPI.cs | 2 +- OpenSim/Region/Application/OpenSimMain.cs | 5 ----- OpenSim/Region/Communications/Local/CommunicationsLocal.cs | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/General/Interfaces/IClientAPI.cs b/OpenSim/Framework/General/Interfaces/IClientAPI.cs index 9079ca5..4d4a969 100644 --- a/OpenSim/Framework/General/Interfaces/IClientAPI.cs +++ b/OpenSim/Framework/General/Interfaces/IClientAPI.cs @@ -154,7 +154,7 @@ namespace OpenSim.Framework.Interfaces void SendRegionHandshake(RegionInfo regionInfo); void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID); void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID); - void SendInstantMessage(string message, LLUUID target, string fromName, LLUUID id); + void SendInstantMessage(string message, LLUUID target, string fromName); void SendLayerData(float[] map); void SendLayerData(int px, int py, float[] map); void MoveAgentIntoRegion(RegionInfo regInfo, LLVector3 pos, LLVector3 look); diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 728329e..67b4d8c 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -115,11 +115,6 @@ namespace OpenSim m_log.Verbose("Main.cs:Startup() - Initialising HTTP server"); - if (m_sandbox) - { - httpServer.AddXmlRPCHandler("login_to_simulator", ((CommunicationsLocal)this.commsManager).UserServices.XmlRpcLoginMethod); - } - //Start http server m_log.Verbose("Main.cs:Startup() - Starting HTTP server"); httpServer.Start(); diff --git a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs index a047843..c47904d 100644 --- a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs +++ b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs @@ -44,6 +44,7 @@ namespace OpenSim.Region.Communications.Local UserServer = UserServices; GridServer = SandBoxServices; InterRegion = SandBoxServices; + httpServer.AddXmlRPCHandler("login_to_simulator", UserServices.XmlRpcLoginMethod); } internal void InformRegionOfLogin(ulong regionHandle, Login login) -- cgit v1.1