Minor formatting cleanup.
parent
17a0474c5f
commit
1bd92a6d34
|
@ -380,7 +380,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
Hashtable responseData = new Hashtable();
|
Hashtable responseData = new Hashtable();
|
||||||
|
|
||||||
lock(this) {
|
lock (this) {
|
||||||
int m_regionLimit = m_config.GetInt("region_limit", 0);
|
int m_regionLimit = m_config.GetInt("region_limit", 0);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -574,7 +574,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
Hashtable responseData = new Hashtable();
|
Hashtable responseData = new Hashtable();
|
||||||
|
|
||||||
lock(this) {
|
lock (this) {
|
||||||
try {
|
try {
|
||||||
Hashtable requestData = (Hashtable) request.Params[0];
|
Hashtable requestData = (Hashtable) request.Params[0];
|
||||||
checkStringParameters(request, new string[] {"password", "region_name"});
|
checkStringParameters(request, new string[] {"password", "region_name"});
|
||||||
|
@ -649,7 +649,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
Hashtable responseData = new Hashtable();
|
Hashtable responseData = new Hashtable();
|
||||||
|
|
||||||
lock(this) {
|
lock (this) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Hashtable requestData = (Hashtable) request.Params[0];
|
Hashtable requestData = (Hashtable) request.Params[0];
|
||||||
|
@ -749,7 +749,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
Hashtable responseData = new Hashtable();
|
Hashtable responseData = new Hashtable();
|
||||||
|
|
||||||
lock(this) {
|
lock (this) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Hashtable requestData = (Hashtable)request.Params[0];
|
Hashtable requestData = (Hashtable)request.Params[0];
|
||||||
|
@ -917,7 +917,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
Hashtable responseData = new Hashtable();
|
Hashtable responseData = new Hashtable();
|
||||||
|
|
||||||
lock(this) {
|
lock (this) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Hashtable requestData = (Hashtable) request.Params[0];
|
Hashtable requestData = (Hashtable) request.Params[0];
|
||||||
|
@ -1043,7 +1043,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
Hashtable responseData = new Hashtable();
|
Hashtable responseData = new Hashtable();
|
||||||
|
|
||||||
lock(this) {
|
lock (this) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Hashtable requestData = (Hashtable) request.Params[0];
|
Hashtable requestData = (Hashtable) request.Params[0];
|
||||||
|
@ -1194,7 +1194,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
Hashtable responseData = new Hashtable();
|
Hashtable responseData = new Hashtable();
|
||||||
|
|
||||||
lock(this) {
|
lock (this) {
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -3029,9 +3029,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
IClientAPI client = null;
|
IClientAPI client = null;
|
||||||
ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter);
|
ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter);
|
||||||
if (sp!=null)
|
if (sp != null)
|
||||||
client = sp.ControllingClient;
|
client = sp.ControllingClient;
|
||||||
SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target);
|
SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target);
|
||||||
if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0)
|
if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0)
|
||||||
return; // Fail silently if attached
|
return; // Fail silently if attached
|
||||||
|
|
Loading…
Reference in New Issue