diff options
author | Adam Frisby | 2009-08-16 21:23:39 +1000 |
---|---|---|
committer | Adam Frisby | 2009-08-16 21:23:39 +1000 |
commit | 8621dc405e2f0f1ea81baa52ec124d8b362a2abf (patch) | |
tree | d5842bb1eb05bfb0045066fc6223c062f05eeec9 /OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-8621dc405e2f0f1ea81baa52ec124d8b362a2abf.zip opensim-SC_OLD-8621dc405e2f0f1ea81baa52ec124d8b362a2abf.tar.gz opensim-SC_OLD-8621dc405e2f0f1ea81baa52ec124d8b362a2abf.tar.bz2 opensim-SC_OLD-8621dc405e2f0f1ea81baa52ec124d8b362a2abf.tar.xz |
* Fixes potential NulRef in MRM Security Checks.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs index 6e350b9..bc7f6cb 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -38,9 +38,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
38 | private readonly ISocialEntity m_owner; | 38 | private readonly ISocialEntity m_owner; |
39 | private readonly Scene m_scene; | 39 | private readonly Scene m_scene; |
40 | 40 | ||
41 | public SecurityCredential(ISocialEntity m_owner) | 41 | public SecurityCredential(ISocialEntity m_owner, Scene m_scene) |
42 | { | 42 | { |
43 | this.m_owner = m_owner; | 43 | this.m_owner = m_owner; |
44 | this.m_scene = m_scene; | ||
44 | } | 45 | } |
45 | 46 | ||
46 | public ISocialEntity owner | 47 | public ISocialEntity owner |