aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 7c524d9..534136d 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -2474,13 +2474,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2474 OutPacket(loadURL, ThrottleOutPacketType.Task); 2474 OutPacket(loadURL, ThrottleOutPacketType.Task);
2475 } 2475 }
2476 2476
2477 public void SendDialog(string objectname, UUID objectID, UUID ownerID, string msg, UUID textureID, int ch, string[] buttonlabels) 2477 public void SendDialog(string objectname, UUID objectID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, string[] buttonlabels)
2478 { 2478 {
2479 ScriptDialogPacket dialog = (ScriptDialogPacket)PacketPool.Instance.GetPacket(PacketType.ScriptDialog); 2479 ScriptDialogPacket dialog = (ScriptDialogPacket)PacketPool.Instance.GetPacket(PacketType.ScriptDialog);
2480 dialog.Data.ObjectID = objectID; 2480 dialog.Data.ObjectID = objectID;
2481 dialog.Data.ObjectName = Utils.StringToBytes(objectname); 2481 dialog.Data.ObjectName = Utils.StringToBytes(objectname);
2482 dialog.Data.FirstName = Utils.StringToBytes(FirstName); 2482 // this is the username of the *owner*
2483 dialog.Data.LastName = Utils.StringToBytes(LastName); 2483 dialog.Data.FirstName = Utils.StringToBytes(ownerFirstName);
2484 dialog.Data.LastName = Utils.StringToBytes(ownerLastName);
2484 dialog.Data.Message = Utils.StringToBytes(msg); 2485 dialog.Data.Message = Utils.StringToBytes(msg);
2485 dialog.Data.ImageID = textureID; 2486 dialog.Data.ImageID = textureID;
2486 dialog.Data.ChatChannel = ch; 2487 dialog.Data.ChatChannel = ch;