* Fixes potential NulRef in MRM Security Checks.

This commit is contained in:
Adam Frisby
2009-08-16 21:23:39 +10:00
parent aea4d7c63b
commit 8621dc405e
2 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
@@ -38,9 +38,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
private readonly ISocialEntity m_owner;
private readonly Scene m_scene;
public SecurityCredential(ISocialEntity m_owner)
public SecurityCredential(ISocialEntity m_owner, Scene m_scene)
{
this.m_owner = m_owner;
this.m_scene = m_scene;
}
public ISocialEntity owner