HG IM bug fix: grid_instant_message was being placed in the default port instead of the specified one.

bulletsim
Diva Canto 2011-06-02 10:14:26 -07:00
parent 65c71050cc
commit 6312eea459
2 changed files with 2 additions and 3 deletions

View File

@ -72,8 +72,7 @@ namespace OpenSim.Server.Handlers.Hypergrid
if (m_IMService == null) if (m_IMService == null)
throw new Exception("InstantMessage server connector cannot proceed because of missing service"); throw new Exception("InstantMessage server connector cannot proceed because of missing service");
m_log.DebugFormat("[XXX] IM Server Connector is ON"); server.AddXmlRPCHandler("grid_instant_message", ProcessInstantMessage, false);
MainServer.Instance.AddXmlRPCHandler("grid_instant_message", ProcessInstantMessage, false);
} }

View File

@ -54,7 +54,7 @@ namespace OpenSim.Tests.Clients.InstantMessage
new PatternLayout("%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"); new PatternLayout("%date [%thread] %-5level %logger [%property{NDC}] - %message%newline");
log4net.Config.BasicConfigurator.Configure(consoleAppender); log4net.Config.BasicConfigurator.Configure(consoleAppender);
string serverURI = "http://grid.nebadon2025.homeftp.net:8002/"; string serverURI = "http://127.0.0.1:8002";
GridInstantMessage im = new GridInstantMessage(); GridInstantMessage im = new GridInstantMessage();
im.fromAgentID = new Guid(); im.fromAgentID = new Guid();
im.toAgentID = new Guid(); im.toAgentID = new Guid();