mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Fix build break
This commit is contained in:
@@ -73,6 +73,7 @@ namespace OpenSim.Services.HypergridService
|
||||
private static Uri m_Uri;
|
||||
private static GridRegion m_DefaultGatewayRegion;
|
||||
private bool m_allowDuplicatePresences = false;
|
||||
private static string m_messageKey;
|
||||
|
||||
public GatekeeperService(IConfigSource config, ISimulationService simService)
|
||||
{
|
||||
@@ -154,6 +155,9 @@ namespace OpenSim.Services.HypergridService
|
||||
m_allowDuplicatePresences = presenceConfig.GetBoolean("AllowDuplicatePresences", m_allowDuplicatePresences);
|
||||
}
|
||||
|
||||
IConfig messagingConfig = config.Configs["Messaging"];
|
||||
if (messagingConfig != null)
|
||||
m_messageKey = messagingConfig.GetString("MessageKey", String.Empty);
|
||||
m_log.Debug("[GATEKEEPER SERVICE]: Starting...");
|
||||
}
|
||||
}
|
||||
@@ -651,7 +655,7 @@ namespace OpenSim.Services.HypergridService
|
||||
msg.Position = Vector3.Zero;
|
||||
msg.RegionID = scopeID.Guid;
|
||||
msg.binaryBucket = new byte[1] {0};
|
||||
InstantMessageServiceConnector.SendInstantMessage(regURL,msg);
|
||||
InstantMessageServiceConnector.SendInstantMessage(regURL,msg, m_messageKey);
|
||||
|
||||
m_GridUserService.LoggedOut(agentID.ToString(),
|
||||
UUID.Zero, guinfo.LastRegionID, guinfo.LastPosition, guinfo.LastLookAt);
|
||||
|
||||
Reference in New Issue
Block a user