aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-16 22:04:01 +0000
committerMelanie Thielker2008-11-16 22:04:01 +0000
commit5e2e05a1c1cf083c52728798c809711f4e2f52ae (patch)
treea51ab47c0d6e83a31fc02e0b840911bf936fe802 /OpenSim/Region/Environment/Modules/World
parent- Fix a formatting error in a log message (Mantis#2635). (diff)
downloadopensim-SC_OLD-5e2e05a1c1cf083c52728798c809711f4e2f52ae.zip
opensim-SC_OLD-5e2e05a1c1cf083c52728798c809711f4e2f52ae.tar.gz
opensim-SC_OLD-5e2e05a1c1cf083c52728798c809711f4e2f52ae.tar.bz2
opensim-SC_OLD-5e2e05a1c1cf083c52728798c809711f4e2f52ae.tar.xz
Megapatch. Completely remove the multiparameter IM methods. Remove the insecure
fromAgentSession field.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r--OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
index de0a41a..735a521 100644
--- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
@@ -84,9 +84,10 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
84 84
85 public void InstantMessage(UUID target, string message) 85 public void InstantMessage(UUID target, string message)
86 { 86 {
87 OnInstantMessage(this, m_uuid, SessionId, target, UUID.Combine(m_uuid, target), 87 OnInstantMessage(this, new GridInstantMessage(m_scene,
88 (uint) Util.UnixTimeSinceEpoch(), Name, message, 0, false, 0, 0, 88 m_uuid, m_firstname + " " + m_lastname,
89 Position, m_scene.RegionInfo.RegionID, new byte[0]); 89 target, 0, false, message,
90 UUID.Zero, false, Position, new byte[0]));
90 } 91 }
91 92
92 public void SendAgentOffline(UUID[] agentIDs) 93 public void SendAgentOffline(UUID[] agentIDs)