aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule
diff options
context:
space:
mode:
authorAdam Frisby2009-08-16 21:41:57 +1000
committerAdam Frisby2009-08-16 21:41:57 +1000
commitb28e82654150edd0ef21fc8361c023a99186d658 (patch)
tree881927dae04aac6a0843012a5c605f5ff7955a1b /OpenSim/Region/OptionalModules/Scripting/Minimodule
parent* [MRM] Added permission checks to MRM Events (ie, requires edit permission t... (diff)
downloadopensim-SC_OLD-b28e82654150edd0ef21fc8361c023a99186d658.zip
opensim-SC_OLD-b28e82654150edd0ef21fc8361c023a99186d658.tar.gz
opensim-SC_OLD-b28e82654150edd0ef21fc8361c023a99186d658.tar.bz2
opensim-SC_OLD-b28e82654150edd0ef21fc8361c023a99186d658.tar.xz
* Implements ISecurityCredential on all uses of SOPObject.cs except Avatar Attachments.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs2
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
index 2e3ed3c..bdc7a15 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
@@ -181,7 +181,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
181 int i = 0; 181 int i = 0;
182 foreach (KeyValuePair<UUID, SceneObjectPart> pair in my.ParentGroup.Children) 182 foreach (KeyValuePair<UUID, SceneObjectPart> pair in my.ParentGroup.Children)
183 { 183 {
184 rets[i++] = new SOPObject(m_rootScene, pair.Value.LocalId); 184 rets[i++] = new SOPObject(m_rootScene, pair.Value.LocalId, m_security);
185 } 185 }
186 186
187 return rets; 187 return rets;
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs
index a34684f..497ca39 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs
@@ -146,7 +146,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
146 if (chat.Sender == null && chat.SenderObject != null) 146 if (chat.Sender == null && chat.SenderObject != null)
147 { 147 {
148 ChatEventArgs e = new ChatEventArgs(); 148 ChatEventArgs e = new ChatEventArgs();
149 e.Sender = new SOPObject(m_internalScene, ((SceneObjectPart) chat.SenderObject).LocalId); 149 e.Sender = new SOPObject(m_internalScene, ((SceneObjectPart) chat.SenderObject).LocalId, m_security);
150 e.Text = chat.Message; 150 e.Text = chat.Message;
151 151
152 _OnChat(this, e); 152 _OnChat(this, e);