mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Megapatch. Completely remove the multiparameter IM methods. Remove the insecure
fromAgentSession field.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user