aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/ModuleLoader.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs
index cfe19cb..b1ab330 100644
--- a/OpenSim/Region/Environment/ModuleLoader.cs
+++ b/OpenSim/Region/Environment/ModuleLoader.cs
@@ -122,7 +122,8 @@ namespace OpenSim.Region.Environment
122 { 122 {
123 IRegionModule module = LoadModule(dllName, moduleName); 123 IRegionModule module = LoadModule(dllName, moduleName);
124 124
125 LoadSharedModule(module); 125 if (module != null)
126 LoadSharedModule(module);
126 } 127 }
127 128
128 /// <summary> 129 /// <summary>