preventing a null reference exception from being thrown

Signed-off-by: Melanie <melanie@t-data.com>
connector_plugin
SignpostMarv 2012-09-17 13:03:34 +01:00 committed by Melanie
parent 5e626ce55d
commit c7948a669a
1 changed files with 3 additions and 0 deletions

View File

@ -5527,6 +5527,9 @@ namespace OpenSim.Region.Framework.Scenes
public string GetExtraSetting(string name)
{
if (m_extraSettings == null)
return String.Empty;
string val;
if (!m_extraSettings.TryGetValue(name, out val))