diff options
Diffstat (limited to 'OpenSim/Region/Environment/PermissionManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/PermissionManager.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs index 412c6e7..6efa116 100644 --- a/OpenSim/Region/Environment/PermissionManager.cs +++ b/OpenSim/Region/Environment/PermissionManager.cs | |||
@@ -306,6 +306,14 @@ namespace OpenSim.Region.Environment | |||
306 | return GenericEstatePermission(user); | 306 | return GenericEstatePermission(user); |
307 | } | 307 | } |
308 | 308 | ||
309 | public virtual bool CanRestartSim(LLUUID user) | ||
310 | { | ||
311 | // Since this is potentially going on a grid... | ||
312 | |||
313 | //return GenericEstatePermission(AgentId); | ||
314 | return m_scene.RegionInfo.MasterAvatarAssignedUUID == user; | ||
315 | } | ||
316 | |||
309 | #endregion | 317 | #endregion |
310 | 318 | ||
311 | #region Parcel Permissions | 319 | #region Parcel Permissions |