Minor formatting cleanup.

0.6.1-post-fixes
Jeff Ames 2008-12-03 23:48:24 +00:00
parent 17a0474c5f
commit 1bd92a6d34
2 changed files with 10 additions and 10 deletions

View File

@ -380,7 +380,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
XmlRpcResponse response = new XmlRpcResponse();
Hashtable responseData = new Hashtable();
lock(this) {
lock (this) {
int m_regionLimit = m_config.GetInt("region_limit", 0);
try {
@ -574,7 +574,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
XmlRpcResponse response = new XmlRpcResponse();
Hashtable responseData = new Hashtable();
lock(this) {
lock (this) {
try {
Hashtable requestData = (Hashtable) request.Params[0];
checkStringParameters(request, new string[] {"password", "region_name"});
@ -649,7 +649,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
XmlRpcResponse response = new XmlRpcResponse();
Hashtable responseData = new Hashtable();
lock(this) {
lock (this) {
try
{
Hashtable requestData = (Hashtable) request.Params[0];
@ -749,7 +749,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
XmlRpcResponse response = new XmlRpcResponse();
Hashtable responseData = new Hashtable();
lock(this) {
lock (this) {
try
{
Hashtable requestData = (Hashtable)request.Params[0];
@ -917,7 +917,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
XmlRpcResponse response = new XmlRpcResponse();
Hashtable responseData = new Hashtable();
lock(this) {
lock (this) {
try
{
Hashtable requestData = (Hashtable) request.Params[0];
@ -1043,7 +1043,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
XmlRpcResponse response = new XmlRpcResponse();
Hashtable responseData = new Hashtable();
lock(this) {
lock (this) {
try
{
Hashtable requestData = (Hashtable) request.Params[0];
@ -1194,7 +1194,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
XmlRpcResponse response = new XmlRpcResponse();
Hashtable responseData = new Hashtable();
lock(this) {
lock (this) {
try
{

View File

@ -3029,9 +3029,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return;
}
IClientAPI client = null;
ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter);
if (sp!=null)
client = sp.ControllingClient;
ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter);
if (sp != null)
client = sp.ControllingClient;
SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target);
if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0)
return; // Fail silently if attached