aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index 5ad5646..794cdae 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -749,7 +749,7 @@ namespace OpenSim.Region.Environment.Scenes
749 { 749 {
750 if (PermissionsMngr.CanEditObject(remoteClient.AgentId, group.UUID)) 750 if (PermissionsMngr.CanEditObject(remoteClient.AgentId, group.UUID))
751 { 751 {
752 group.SetPartName(name, primLocalID); 752 group.SetPartName(Util.CleanString(name), primLocalID);
753 } 753 }
754 } 754 }
755 } 755 }
@@ -766,7 +766,7 @@ namespace OpenSim.Region.Environment.Scenes
766 { 766 {
767 if (PermissionsMngr.CanEditObject(remoteClient.AgentId, group.UUID)) 767 if (PermissionsMngr.CanEditObject(remoteClient.AgentId, group.UUID))
768 { 768 {
769 group.SetPartDescription(description.Replace("\0",""), primLocalID); 769 group.SetPartDescription(Util.CleanString(description), primLocalID);
770 } 770 }
771 } 771 }
772 } 772 }