Change the signature of SendChangeUserRights, because we have to send

this to both parties
This commit is contained in:
Melanie
2010-02-28 22:56:31 +00:00
parent 44e7224b86
commit 86c621fdc7
9 changed files with 10 additions and 10 deletions

View File

@@ -11606,12 +11606,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
OutPacket(packet, ThrottleOutPacketType.Task);
}
public void SendChangeUserRights(UUID friendID, int rights)
public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{
ChangeUserRightsPacket packet = (ChangeUserRightsPacket)PacketPool.Instance.GetPacket(PacketType.ChangeUserRights);
packet.AgentData = new ChangeUserRightsPacket.AgentDataBlock();
packet.AgentData.AgentID = AgentId;
packet.AgentData.AgentID = agentID;
packet.Rights = new ChangeUserRightsPacket.RightsBlock[1];
packet.Rights[0] = new ChangeUserRightsPacket.RightsBlock();