mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
*Complete redo of the permissions module
*Removed hardcoded permissions checks *Added permissions checks where needed
This commit is contained in:
@@ -281,7 +281,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
public int osRegionRestart(double seconds)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
if (World.ExternalChecks.ExternalChecksCanRestartSim(m_host.OwnerID))
|
||||
if (World.ExternalChecks.ExternalChecksCanIssueEstateCommand(m_host.OwnerID))
|
||||
{
|
||||
World.Restart((float)seconds);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user