aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
index b3a0d4f..0f50358 100644
--- a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
+++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
@@ -45,6 +45,8 @@ namespace OpenSim.Region.ExtensionsScriptModule
45 /// <remarks>Avoid at all costs. This should ONLY be used for LSL.</remarks> 45 /// <remarks>Avoid at all costs. This should ONLY be used for LSL.</remarks>
46 internal class ScriptInterpretedAPI 46 internal class ScriptInterpretedAPI
47 { 47 {
48 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
49
48 protected Key m_object; 50 protected Key m_object;
49 protected Scene m_scene; 51 protected Scene m_scene;
50 52
@@ -109,7 +111,7 @@ namespace OpenSim.Region.ExtensionsScriptModule
109 { 111 {
110 //Dont do anything! 112 //Dont do anything!
111 } 113 }
112 MainLog.Instance.Warn("script", 114 m_log.Warn("[script]: " +
113 "Unimplemented function called by script: osAddToLandPassList(Key avatar, float hours)"); 115 "Unimplemented function called by script: osAddToLandPassList(Key avatar, float hours)");
114 return; 116 return;
115 } 117 }
@@ -117,7 +119,7 @@ namespace OpenSim.Region.ExtensionsScriptModule
117 [Obsolete("Unimplemented")] 119 [Obsolete("Unimplemented")]
118 public void osAdjustSoundVolume(float volume) 120 public void osAdjustSoundVolume(float volume)
119 { 121 {
120 MainLog.Instance.Warn("script", "Unimplemented function called by script: osAdjustSoundVolume(float volume)"); 122 m_log.Warn("[script]: Unimplemented function called by script: osAdjustSoundVolume(float volume)");
121 return; 123 return;
122 } 124 }
123 125