diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e9ec314..425d2c5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -948,13 +948,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
948 | 948 | ||
949 | m_host.AddScriptLPS(1); | 949 | m_host.AddScriptLPS(1); |
950 | 950 | ||
951 | if (channel == ScriptBaseClass.DEBUG_CHANNEL) | ||
952 | { | ||
953 | return; | ||
954 | } | ||
955 | |||
951 | UUID TargetID; | 956 | UUID TargetID; |
952 | UUID.TryParse(target, out TargetID); | 957 | UUID.TryParse(target, out TargetID); |
953 | 958 | ||
954 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); | 959 | IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); |
955 | if (wComm != null) | 960 | if (wComm != null) |
956 | if (!wComm.DeliverMessageTo(TargetID, channel, m_host.AbsolutePosition, m_host.Name, m_host.UUID, msg, out error)) | 961 | wComm.DeliverMessageTo(TargetID, channel, m_host.AbsolutePosition, m_host.Name, m_host.UUID, msg); |
957 | LSLError(error); | ||
958 | } | 962 | } |
959 | 963 | ||
960 | public LSL_Integer llListen(int channelID, string name, string ID, string msg) | 964 | public LSL_Integer llListen(int channelID, string name, string ID, string msg) |