Add the missing block to the alert message

trunk
Melanie Thielker 2009-07-28 20:27:31 +00:00
parent aa06d9f98b
commit f94985a939
1 changed files with 2 additions and 0 deletions

View File

@ -2491,7 +2491,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public void SendAlertMessage(string message)
{
AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage);
alertPack.AlertData = new AlertMessagePacket.AlertDataBlock();
alertPack.AlertData.Message = Utils.StringToBytes(message);
alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[0];
OutPacket(alertPack, ThrottleOutPacketType.Task);
}