Mantis#1798. Thank you kindly, StrawberryFride for a patch that:

Fixes a couple of places where null reference exceptions were 
being caught and ignored rather than null checks being performed.
This commit is contained in:
Charles Krinke
2008-07-21 13:40:08 +00:00
parent 9dbb6f28bc
commit a432a07005
2 changed files with 5 additions and 13 deletions

View File

@@ -153,7 +153,7 @@ namespace OpenSim.Region.Environment.Scenes
try
{
IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>();
statpack.Region.RegionFlags = estateModule.GetRegionFlags();
statpack.Region.RegionFlags = estateModule != null ? estateModule.GetRegionFlags() : (uint) 0;
}
catch (Exception)
{