Fix bug in "show modules" comamnd that was showing shared modules as non-shared and non-shared as shared

bullet-2.82
Justin Clark-Casey (justincc) 2014-07-09 23:24:12 +01:00
parent a8860d79d8
commit fea18a909f
1 changed files with 1 additions and 1 deletions

View File

@ -921,7 +921,7 @@ namespace OpenSim
foreach (IRegionModuleBase module in scene.RegionModules.Values) foreach (IRegionModuleBase module in scene.RegionModules.Values)
{ {
if (module.GetType().GetInterface("ISharedRegionModule") != null) if (module.GetType().GetInterface("ISharedRegionModule") == null)
nonSharedModules.Add(module); nonSharedModules.Add(module);
else else
sharedModules.Add(module); sharedModules.Add(module);