diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
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(); |