Thanks tglion for the necessary info to solve an ArgumentOutOfRangeException during region start.
This commit is contained in:
Homer Horwitz
2008-10-02 22:57:07 +00:00
parent 35a23ab74f
commit 4e3a3417c7

View File

@@ -244,7 +244,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
int lineEnd = script.IndexOf('\n');
if (lineEnd != 1)
if (lineEnd != -1)
{
string firstline = script.Substring(0, lineEnd).Trim();