aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
diff options
context:
space:
mode:
authorJeff Ames2009-06-09 18:07:35 +0000
committerJeff Ames2009-06-09 18:07:35 +0000
commita7fcacf8f396acbca0b640a65acfbf5487d513e7 (patch)
tree5ba66f5c83eceeb81e24a0540ae4fac9847e0c78 /OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-a7fcacf8f396acbca0b640a65acfbf5487d513e7.zip
opensim-SC_OLD-a7fcacf8f396acbca0b640a65acfbf5487d513e7.tar.gz
opensim-SC_OLD-a7fcacf8f396acbca0b640a65acfbf5487d513e7.tar.bz2
opensim-SC_OLD-a7fcacf8f396acbca0b640a65acfbf5487d513e7.tar.xz
Formatting cleanup. Ignore some generated files.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
index 911da5b..5c7ce43 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
@@ -342,13 +342,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
342 throw new Exception(errtext); 342 throw new Exception(errtext);
343 } 343 }
344 344
345 if(m_scriptEngine.World.Permissions.CanCompileScript(ownerUUID, (int)l) == false) { 345 if (m_scriptEngine.World.Permissions.CanCompileScript(ownerUUID, (int)l) == false) {
346 // Not allowed to compile to this language! 346 // Not allowed to compile to this language!
347 string errtext = String.Empty; 347 string errtext = String.Empty;
348 errtext += ownerUUID + " is not in list of allowed users for this scripting language. Script will not be executed!"; 348 errtext += ownerUUID + " is not in list of allowed users for this scripting language. Script will not be executed!";
349 throw new Exception(errtext); 349 throw new Exception(errtext);
350 } 350 }
351 351
352 string compileScript = Script; 352 string compileScript = Script;
353 353
354 if (l == enumCompileType.lsl) 354 if (l == enumCompileType.lsl)