diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 4384906..acf09eb 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -229,9 +229,16 @@ namespace OpenSim | |||
229 | UserProfileData masterAvatar = commsManager.UserServer.SetupMasterUser(LocalWorld.RegionInfo.MasterAvatarFirstName, LocalWorld.RegionInfo.MasterAvatarLastName, LocalWorld.RegionInfo.MasterAvatarSandboxPassword); | 229 | UserProfileData masterAvatar = commsManager.UserServer.SetupMasterUser(LocalWorld.RegionInfo.MasterAvatarFirstName, LocalWorld.RegionInfo.MasterAvatarLastName, LocalWorld.RegionInfo.MasterAvatarSandboxPassword); |
230 | if (masterAvatar != null) | 230 | if (masterAvatar != null) |
231 | { | 231 | { |
232 | m_log.Notice("Parcels - Found master avatar [" + masterAvatar.UUID.ToStringHyphenated() + "]"); | ||
232 | LocalWorld.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID; | 233 | LocalWorld.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID; |
233 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.ParcelManager); | 234 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.ParcelManager); |
234 | } | 235 | } |
236 | else | ||
237 | { | ||
238 | m_log.Notice("Parcels - No master avatar found, using null."); | ||
239 | LocalWorld.RegionInfo.MasterAvatarAssignedUUID = libsecondlife.LLUUID.Zero; | ||
240 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.ParcelManager); | ||
241 | } | ||
235 | 242 | ||
236 | LocalWorld.StartTimer(); | 243 | LocalWorld.StartTimer(); |
237 | } | 244 | } |