diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 7 |
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) |