aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 4956423..794162e 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -2431,6 +2431,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2431 public void SendAlertMessage(string message) 2431 public void SendAlertMessage(string message)
2432 { 2432 {
2433 AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage); 2433 AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage);
2434 alertPack.AgentInfo = new AlertMessagePacket.AgentInfoBlock[1];
2435 alertPack.AgentInfo[0] = new AlertMessagePacket.AgentInfoBlock();
2436 alertPack.AgentInfo[0].AgentID = AgentId;
2434 alertPack.AlertData = new AlertMessagePacket.AlertDataBlock(); 2437 alertPack.AlertData = new AlertMessagePacket.AlertDataBlock();
2435 alertPack.AlertData.Message = Util.StringToBytes256(message); 2438 alertPack.AlertData.Message = Util.StringToBytes256(message);
2436 alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[0]; 2439 alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[0];
@@ -2440,6 +2443,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2440 public void SendAlertMessage(string message, string info) 2443 public void SendAlertMessage(string message, string info)
2441 { 2444 {
2442 AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage); 2445 AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage);
2446 alertPack.AgentInfo = new AlertMessagePacket.AgentInfoBlock[1];
2447 alertPack.AgentInfo[0] = new AlertMessagePacket.AgentInfoBlock();
2448 alertPack.AgentInfo[0].AgentID = AgentId;
2443 alertPack.AlertData = new AlertMessagePacket.AlertDataBlock(); 2449 alertPack.AlertData = new AlertMessagePacket.AlertDataBlock();
2444 alertPack.AlertData.Message = Util.StringToBytes256(message); 2450 alertPack.AlertData.Message = Util.StringToBytes256(message);
2445 alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[1]; 2451 alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[1];