mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Change the signature of SendChangeUserRights, because we have to send
this to both parties
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user