diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index b5cbd25..f9f6401 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -59,7 +59,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
59 | public Dictionary<string, IScriptApi> Apis; | 59 | public Dictionary<string, IScriptApi> Apis; |
60 | public Dictionary<KeyValuePair<int,int>, KeyValuePair<int,int>> | 60 | public Dictionary<KeyValuePair<int,int>, KeyValuePair<int,int>> |
61 | LineMap; | 61 | LineMap; |
62 | public ISponsor ScriptSponsor; | 62 | // public ISponsor ScriptSponsor; |
63 | } | 63 | } |
64 | 64 | ||
65 | public class ScriptManager | 65 | public class ScriptManager |
@@ -169,10 +169,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
169 | m_scriptEngine.m_AppDomainManager.LoadScript( | 169 | m_scriptEngine.m_AppDomainManager.LoadScript( |
170 | CompiledScriptFile, out id.AppDomain); | 170 | CompiledScriptFile, out id.AppDomain); |
171 | //Register the sponsor | 171 | //Register the sponsor |
172 | ISponsor scriptSponsor = new ScriptSponsor(); | 172 | // ISponsor scriptSponsor = new ScriptSponsor(); |
173 | ILease lease = (ILease)RemotingServices.GetLifetimeService(CompiledScript as MarshalByRefObject); | 173 | // ILease lease = (ILease)RemotingServices.GetLifetimeService(CompiledScript as MarshalByRefObject); |
174 | lease.Register(scriptSponsor); | 174 | // lease.Register(scriptSponsor); |
175 | id.ScriptSponsor = scriptSponsor; | 175 | // id.ScriptSponsor = scriptSponsor; |
176 | 176 | ||
177 | id.LineMap = LSLCompiler.LineMap(); | 177 | id.LineMap = LSLCompiler.LineMap(); |
178 | id.Script = CompiledScript; | 178 | id.Script = CompiledScript; |