Prevent the ExtraSettings code from crashing SQLite driven sims.
parent
0b9bf236dd
commit
402128bb53
|
@ -5545,6 +5545,9 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public void StoreExtraSetting(string name, string val)
|
||||
{
|
||||
if (m_extraSettings == null)
|
||||
return;
|
||||
|
||||
string oldVal;
|
||||
|
||||
if (m_extraSettings.TryGetValue(name, out oldVal))
|
||||
|
@ -5562,6 +5565,9 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public void RemoveExtraSetting(string name)
|
||||
{
|
||||
if (m_extraSettings == null)
|
||||
return;
|
||||
|
||||
if (!m_extraSettings.ContainsKey(name))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue