diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SimStatsReporter.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs index 60b5c10..f46aba4 100644 --- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | |||
@@ -153,7 +153,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
153 | try | 153 | try |
154 | { | 154 | { |
155 | IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); | 155 | IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); |
156 | statpack.Region.RegionFlags = estateModule.GetRegionFlags(); | 156 | statpack.Region.RegionFlags = estateModule != null ? estateModule.GetRegionFlags() : (uint) 0; |
157 | } | 157 | } |
158 | catch (Exception) | 158 | catch (Exception) |
159 | { | 159 | { |