mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Add the missing block to the alert message
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user