diff options
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 20f6af5..739bcc2 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -766,7 +766,7 @@ namespace OpenSim | |||
766 | foreach (IRegionModuleBase module in sharedModules.OrderBy(m => m.Name)) | 766 | foreach (IRegionModuleBase module in sharedModules.OrderBy(m => m.Name)) |
767 | MainConsole.Instance.OutputFormat("New Region Module (Shared): {0}", module.Name); | 767 | MainConsole.Instance.OutputFormat("New Region Module (Shared): {0}", module.Name); |
768 | 768 | ||
769 | foreach (IRegionModuleBase module in sharedModules.OrderBy(m => m.Name)) | 769 | foreach (IRegionModuleBase module in nonSharedModules.OrderBy(m => m.Name)) |
770 | MainConsole.Instance.OutputFormat("New Region Module (Non-Shared): {0}", module.Name); | 770 | MainConsole.Instance.OutputFormat("New Region Module (Non-Shared): {0}", module.Name); |
771 | } | 771 | } |
772 | ); | 772 | ); |
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 4891c1a..f663c77 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -985,7 +985,7 @@ namespace OpenSim | |||
985 | regInfo.EstateSettings = EstateDataService.LoadEstateSettings(regInfo.RegionID, true); | 985 | regInfo.EstateSettings = EstateDataService.LoadEstateSettings(regInfo.RegionID, true); |
986 | 986 | ||
987 | string newName; | 987 | string newName; |
988 | if (estateName != null && estateName != "") | 988 | if (!string.IsNullOrEmpty(estateName)) |
989 | newName = estateName; | 989 | newName = estateName; |
990 | else | 990 | else |
991 | newName = MainConsole.Instance.CmdPrompt("New estate name", regInfo.EstateSettings.EstateName); | 991 | newName = MainConsole.Instance.CmdPrompt("New estate name", regInfo.EstateSettings.EstateName); |