Megapatch. Completely remove the multiparameter IM methods. Remove the insecure

fromAgentSession field.
This commit is contained in:
Melanie Thielker
2008-11-16 22:04:01 +00:00
parent 78d42a7fc8
commit 5e2e05a1c1
11 changed files with 135 additions and 171 deletions

View File

@@ -84,9 +84,10 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
public void InstantMessage(UUID target, string message)
{
OnInstantMessage(this, m_uuid, SessionId, target, UUID.Combine(m_uuid, target),
(uint) Util.UnixTimeSinceEpoch(), Name, message, 0, false, 0, 0,
Position, m_scene.RegionInfo.RegionID, new byte[0]);
OnInstantMessage(this, new GridInstantMessage(m_scene,
m_uuid, m_firstname + " " + m_lastname,
target, 0, false, message,
UUID.Zero, false, Position, new byte[0]));
}
public void SendAgentOffline(UUID[] agentIDs)