Handle kick user from estate management tools
parent
6da356a7e4
commit
cfa4e6642e
|
@ -9904,6 +9904,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
case "kickestate":
|
||||||
|
|
||||||
|
if(((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false))
|
||||||
|
{
|
||||||
|
UUID invoice = messagePacket.MethodData.Invoice;
|
||||||
|
UUID SenderID = messagePacket.AgentData.AgentID;
|
||||||
|
UUID Prey;
|
||||||
|
|
||||||
|
UUID.TryParse(Utils.BytesToString(messagePacket.ParamList[0].Parameter), out Prey);
|
||||||
|
|
||||||
|
OnEstateTeleportOneUserHomeRequest(this, invoice, SenderID, Prey);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
m_log.WarnFormat(
|
m_log.WarnFormat(
|
||||||
"[LLCLIENTVIEW]: EstateOwnerMessage: Unknown method {0} requested for {1} in {2}",
|
"[LLCLIENTVIEW]: EstateOwnerMessage: Unknown method {0} requested for {1} in {2}",
|
||||||
|
|
Loading…
Reference in New Issue