mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
* Implements ISecurityCredential on all uses of SOPObject.cs except Avatar Attachments.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user