aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-12-30 19:00:43 +0000
committerUbitUmarov2018-12-30 19:00:43 +0000
commit24c4cf74c622da3838b3ea568073e195cb5457aa (patch)
treef2f3dedf77dd4f7951c68b2de4ce5da843edd34c /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
parentupdate libopenmetaverse (diff)
downloadopensim-SC-24c4cf74c622da3838b3ea568073e195cb5457aa.zip
opensim-SC-24c4cf74c622da3838b3ea568073e195cb5457aa.tar.gz
opensim-SC-24c4cf74c622da3838b3ea568073e195cb5457aa.tar.bz2
opensim-SC-24c4cf74c622da3838b3ea568073e195cb5457aa.tar.xz
mantis 8436: fix lludp message
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-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];