* Implements ISecurityCredential on all uses of SOPObject.cs except Avatar Attachments.

arthursv
Adam Frisby 2009-08-16 21:41:57 +10:00
parent adae13cd18
commit b28e826541
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
int i = 0;
foreach (KeyValuePair<UUID, SceneObjectPart> pair in my.ParentGroup.Children)
{
rets[i++] = new SOPObject(m_rootScene, pair.Value.LocalId);
rets[i++] = new SOPObject(m_rootScene, pair.Value.LocalId, m_security);
}
return rets;

View File

@ -146,7 +146,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
if (chat.Sender == null && chat.SenderObject != null)
{
ChatEventArgs e = new ChatEventArgs();
e.Sender = new SOPObject(m_internalScene, ((SceneObjectPart) chat.SenderObject).LocalId);
e.Sender = new SOPObject(m_internalScene, ((SceneObjectPart) chat.SenderObject).LocalId, m_security);
e.Text = chat.Message;
_OnChat(this, e);