aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2018-10-20 15:35:04 +0100
committerUbitUmarov2018-10-20 15:35:04 +0100
commitd1d370ada347054d7b6278fe224933a1dfd2f0b1 (patch)
treec5eca921cfb3ca179d666f85b76721546c07f94c /OpenSim/Region
parentchange ossl error report and NPC create error handling (diff)
downloadopensim-SC-d1d370ada347054d7b6278fe224933a1dfd2f0b1.zip
opensim-SC-d1d370ada347054d7b6278fe224933a1dfd2f0b1.tar.gz
opensim-SC-d1d370ada347054d7b6278fe224933a1dfd2f0b1.tar.bz2
opensim-SC-d1d370ada347054d7b6278fe224933a1dfd2f0b1.tar.xz
avoid a null ref during jenkins tests
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 4859038..eb424a3 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -265,7 +265,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
265 ChatTypeEnum.Shout, ScriptBaseClass.DEBUG_CHANNEL, m_host.ParentGroup.RootPart.AbsolutePosition, m_host.Name, m_host.UUID, true); 265 ChatTypeEnum.Shout, ScriptBaseClass.DEBUG_CHANNEL, m_host.ParentGroup.RootPart.AbsolutePosition, m_host.Name, m_host.UUID, true);
266 266
267 IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); 267 IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>();
268 wComm.DeliverMessage(ChatTypeEnum.Shout, ScriptBaseClass.DEBUG_CHANNEL, m_host.Name, m_host.UUID, message); 268 if(wComm != null)
269 wComm.DeliverMessage(ChatTypeEnum.Shout, ScriptBaseClass.DEBUG_CHANNEL, m_host.Name, m_host.UUID, message);
269 } 270 }
270 271
271 // Returns if OSSL is enabled. Throws a script exception if OSSL is not allowed.. 272 // Returns if OSSL is enabled. Throws a script exception if OSSL is not allowed..