diff options
Diffstat (limited to 'src/OpenSimClient.cs')
-rw-r--r-- | src/OpenSimClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OpenSimClient.cs b/src/OpenSimClient.cs index 59833d8..83d8599 100644 --- a/src/OpenSimClient.cs +++ b/src/OpenSimClient.cs | |||
@@ -391,7 +391,7 @@ namespace OpenSim | |||
391 | String grTest = sr.ReadLine(); | 391 | String grTest = sr.ReadLine(); |
392 | sr.Close(); | 392 | sr.Close(); |
393 | GridResponse.Close(); | 393 | GridResponse.Close(); |
394 | if(grTest.Equals("1")) { // YAY! Valid login | 394 | if(String.IsNullOrEmpty(grTest) || grTest.Equals("1")) { // YAY! Valid login |
395 | Console.WriteLine("OpenSimClient.cs:AuthUser() - Got authenticated connection from " + userEP.ToString()); | 395 | Console.WriteLine("OpenSimClient.cs:AuthUser() - Got authenticated connection from " + userEP.ToString()); |
396 | this.AgentID=cirpack.CircuitCode.ID; | 396 | this.AgentID=cirpack.CircuitCode.ID; |
397 | this.SessionID=cirpack.CircuitCode.SessionID; | 397 | this.SessionID=cirpack.CircuitCode.SessionID; |