diff options
author | Adam Frisby | 2009-03-04 22:14:40 +0000 |
---|---|---|
committer | Adam Frisby | 2009-03-04 22:14:40 +0000 |
commit | f3aac0fa4af4b503e9fdffe866ca7c179d41f6aa (patch) | |
tree | b896779b8a5b2809e15b5d6ca309c7c149fcf96c /OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs | |
parent | * For now, restore file extension for default oar name I accidentally removed... (diff) | |
download | opensim-SC-f3aac0fa4af4b503e9fdffe866ca7c179d41f6aa.zip opensim-SC-f3aac0fa4af4b503e9fdffe866ca7c179d41f6aa.tar.gz opensim-SC-f3aac0fa4af4b503e9fdffe866ca7c179d41f6aa.tar.bz2 opensim-SC-f3aac0fa4af4b503e9fdffe866ca7c179d41f6aa.tar.xz |
* Fleshed out the MRM Module a little.
* Please don't use this yet, it represents a very heavy security risk if you enable it.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs index 41d368d..dcb70b4 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs | |||
@@ -1,12 +1,15 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Reflection; | ||
3 | using System.Text; | 4 | using System.Text; |
5 | using log4net; | ||
4 | 6 | ||
5 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 7 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
6 | { | 8 | { |
7 | class Host : IHost | 9 | class Host : IHost |
8 | { | 10 | { |
9 | private readonly IObject m_obj; | 11 | private readonly IObject m_obj; |
12 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
10 | 13 | ||
11 | public Host(IObject m_obj) | 14 | public Host(IObject m_obj) |
12 | { | 15 | { |
@@ -17,5 +20,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
17 | { | 20 | { |
18 | get { return m_obj; } | 21 | get { return m_obj; } |
19 | } | 22 | } |
23 | |||
24 | public ILog Console | ||
25 | { | ||
26 | get { return m_log; } | ||
27 | } | ||
20 | } | 28 | } |
21 | } | 29 | } |