diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 4b1e6b9..6e0c007 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -1413,7 +1413,8 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1413 | m_landList.TryGetValue(localID, out selectedParcel); | 1413 | m_landList.TryGetValue(localID, out selectedParcel); |
1414 | } | 1414 | } |
1415 | 1415 | ||
1416 | if (selectedParcel == null) return; | 1416 | if (selectedParcel == null) |
1417 | return; | ||
1417 | 1418 | ||
1418 | selectedParcel.ReturnLandObjects(returnType, agentIDs, taskIDs, remoteClient); | 1419 | selectedParcel.ReturnLandObjects(returnType, agentIDs, taskIDs, remoteClient); |
1419 | } | 1420 | } |
@@ -1421,7 +1422,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1421 | { | 1422 | { |
1422 | if (returnType != 1) | 1423 | if (returnType != 1) |
1423 | { | 1424 | { |
1424 | m_log.WarnFormat("[LAND MANAGEMENT MODULE] ReturnObjectsInParcel: unknown return type {0}", returnType); | 1425 | m_log.WarnFormat("[LAND MANAGEMENT MODULE]: ReturnObjectsInParcel: unknown return type {0}", returnType); |
1425 | return; | 1426 | return; |
1426 | } | 1427 | } |
1427 | 1428 | ||
@@ -1441,14 +1442,14 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1441 | } | 1442 | } |
1442 | else | 1443 | else |
1443 | { | 1444 | { |
1444 | m_log.WarnFormat("[LAND MANAGEMENT MODULE] ReturnObjectsInParcel: unknown object {0}", groupID); | 1445 | m_log.WarnFormat("[LAND MANAGEMENT MODULE]: ReturnObjectsInParcel: unknown object {0}", groupID); |
1445 | } | 1446 | } |
1446 | } | 1447 | } |
1447 | 1448 | ||
1448 | int num = 0; | 1449 | int num = 0; |
1449 | foreach (HashSet<SceneObjectGroup> objs in returns.Values) | 1450 | foreach (HashSet<SceneObjectGroup> objs in returns.Values) |
1450 | num += objs.Count; | 1451 | num += objs.Count; |
1451 | m_log.DebugFormat("[LAND MANAGEMENT MODULE] Returning {0} specific object(s)", num); | 1452 | m_log.DebugFormat("[LAND MANAGEMENT MODULE]: Returning {0} specific object(s)", num); |
1452 | 1453 | ||
1453 | foreach (HashSet<SceneObjectGroup> objs in returns.Values) | 1454 | foreach (HashSet<SceneObjectGroup> objs in returns.Values) |
1454 | { | 1455 | { |
@@ -1459,7 +1460,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1459 | } | 1460 | } |
1460 | else | 1461 | else |
1461 | { | 1462 | { |
1462 | m_log.WarnFormat("[LAND MANAGEMENT MODULE] ReturnObjectsInParcel: not permitted to return {0} object(s) belonging to user {1}", | 1463 | m_log.WarnFormat("[LAND MANAGEMENT MODULE]: ReturnObjectsInParcel: not permitted to return {0} object(s) belonging to user {1}", |
1463 | objs2.Count, objs2[0].OwnerID); | 1464 | objs2.Count, objs2[0].OwnerID); |
1464 | } | 1465 | } |
1465 | } | 1466 | } |