Thanks tglion for the necessary info to solve an ArgumentOutOfRangeException during region start.
0.6.0-stable
Homer Horwitz 2008-10-02 22:57:07 +00:00
parent 35a23ab74f
commit 4e3a3417c7
1 changed files with 1 additions and 1 deletions

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();