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

0.8.0.3
Justin Clark-Casey (justincc) 2014-07-09 23:24:12 +01:00 committed by Justin Clark-Casey
parent b243cde14f
commit 743b1efdb4
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);