diff options
Diffstat (limited to 'OpenSim/Framework/Monitoring')
-rw-r--r-- | OpenSim/Framework/Monitoring/ServerStatsCollector.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs index ff0fcd5..77315bb 100644 --- a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs +++ b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs | |||
@@ -82,6 +82,9 @@ namespace OpenSim.Framework.Monitoring | |||
82 | // IRegionModuleBase.Initialize | 82 | // IRegionModuleBase.Initialize |
83 | public void Initialise(IConfigSource source) | 83 | public void Initialise(IConfigSource source) |
84 | { | 84 | { |
85 | if (source == null) | ||
86 | return; | ||
87 | |||
85 | IConfig cfg = source.Configs["Monitoring"]; | 88 | IConfig cfg = source.Configs["Monitoring"]; |
86 | 89 | ||
87 | if (cfg != null) | 90 | if (cfg != null) |