aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorMelanie2010-02-28 22:56:31 +0000
committerMelanie2010-02-28 22:56:31 +0000
commit86c621fdc77fadb898cf53578e83746cd8f8711b (patch)
treedf69ad31237d4d2b459acf8a200a4bc1f6cabbcf /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parentAdd missing ChangeUserRights packet sender (diff)
downloadopensim-SC_OLD-86c621fdc77fadb898cf53578e83746cd8f8711b.zip
opensim-SC_OLD-86c621fdc77fadb898cf53578e83746cd8f8711b.tar.gz
opensim-SC_OLD-86c621fdc77fadb898cf53578e83746cd8f8711b.tar.bz2
opensim-SC_OLD-86c621fdc77fadb898cf53578e83746cd8f8711b.tar.xz
Change the signature of SendChangeUserRights, because we have to send
this to both parties
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 8448236..ef49205 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -11606,12 +11606,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11606 OutPacket(packet, ThrottleOutPacketType.Task); 11606 OutPacket(packet, ThrottleOutPacketType.Task);
11607 } 11607 }
11608 11608
11609 public void SendChangeUserRights(UUID friendID, int rights) 11609 public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
11610 { 11610 {
11611 ChangeUserRightsPacket packet = (ChangeUserRightsPacket)PacketPool.Instance.GetPacket(PacketType.ChangeUserRights); 11611 ChangeUserRightsPacket packet = (ChangeUserRightsPacket)PacketPool.Instance.GetPacket(PacketType.ChangeUserRights);
11612 11612
11613 packet.AgentData = new ChangeUserRightsPacket.AgentDataBlock(); 11613 packet.AgentData = new ChangeUserRightsPacket.AgentDataBlock();
11614 packet.AgentData.AgentID = AgentId; 11614 packet.AgentData.AgentID = agentID;
11615 11615
11616 packet.Rights = new ChangeUserRightsPacket.RightsBlock[1]; 11616 packet.Rights = new ChangeUserRightsPacket.RightsBlock[1];
11617 packet.Rights[0] = new ChangeUserRightsPacket.RightsBlock(); 11617 packet.Rights[0] = new ChangeUserRightsPacket.RightsBlock();