mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Add copyright header. Formatting cleanup.
This commit is contained in:
@@ -71,7 +71,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
|
||||
private bool CanEdit()
|
||||
{
|
||||
if(!m_security.CanEditObject(this))
|
||||
if (!m_security.CanEditObject(this))
|
||||
{
|
||||
throw new SecurityException("Insufficient Permission to edit object with UUID [" + GetSOP().UUID + "]");
|
||||
}
|
||||
@@ -672,7 +672,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
get { return m_sculptType; }
|
||||
set
|
||||
{
|
||||
if(!CanEdit())
|
||||
if (!CanEdit())
|
||||
return;
|
||||
|
||||
m_sculptType = value;
|
||||
|
||||
Reference in New Issue
Block a user