diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 4956423858..794162ecb5 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 public void SendAlertMessage(string message) { AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage); + alertPack.AgentInfo = new AlertMessagePacket.AgentInfoBlock[1]; + alertPack.AgentInfo[0] = new AlertMessagePacket.AgentInfoBlock(); + alertPack.AgentInfo[0].AgentID = AgentId; alertPack.AlertData = new AlertMessagePacket.AlertDataBlock(); alertPack.AlertData.Message = Util.StringToBytes256(message); alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[0]; @@ -2440,6 +2443,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP public void SendAlertMessage(string message, string info) { AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage); + alertPack.AgentInfo = new AlertMessagePacket.AgentInfoBlock[1]; + alertPack.AgentInfo[0] = new AlertMessagePacket.AgentInfoBlock(); + alertPack.AgentInfo[0].AgentID = AgentId; alertPack.AlertData = new AlertMessagePacket.AlertDataBlock(); alertPack.AlertData.Message = Util.StringToBytes256(message); alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[1];