aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorUbitUmarov2016-09-21 15:26:30 +0100
committerUbitUmarov2016-09-21 15:26:30 +0100
commitdb1e75b0ac88bfb5f22c5742d7c0c5fdca5b064e (patch)
tree1d3bcd2deabe0bd28cce79bbae2a09e963efb397 /OpenSim/Region/CoreModules
parentMerge branch 'master' into httptests (diff)
parentavoid a null ref (diff)
downloadopensim-SC-db1e75b0ac88bfb5f22c5742d7c0c5fdca5b064e.zip
opensim-SC-db1e75b0ac88bfb5f22c5742d7c0c5fdca5b064e.tar.gz
opensim-SC-db1e75b0ac88bfb5f22c5742d7c0c5fdca5b064e.tar.bz2
opensim-SC-db1e75b0ac88bfb5f22c5742d7c0c5fdca5b064e.tar.xz
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs1
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs2
2 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
index eabeaf1..72fff22 100644
--- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
@@ -701,6 +701,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
701 last = parts[1]; 701 last = parts[1];
702 } 702 }
703 uui = userID + ";" + homeURL + ";" + first + " " + last; 703 uui = userID + ";" + homeURL + ";" + first + " " + last;
704 return result;
704 } 705 }
705 } 706 }
706 707
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
index e77f0aa..e65f860 100644
--- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
@@ -768,7 +768,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
768 else 768 else
769 so = m_scene.GetSceneObjectGroup(localId); 769 so = m_scene.GetSceneObjectGroup(localId);
770 770
771 if (!so.IsAttachment) 771 if (so!= null && !so.IsAttachment)
772 deletes.Add(so); 772 deletes.Add(so);
773 773
774 // if (deletes.Count == 0) 774 // if (deletes.Count == 0)