diff options
author | jhurliman | 2007-03-02 08:36:57 +0000 |
---|---|---|
committer | jhurliman | 2007-03-02 08:36:57 +0000 |
commit | 91c11314acbec75bfdfa878b69b02543629b2b17 (patch) | |
tree | c0f56f7ea5c6bd98a15a65fcc1fb508523b982ec /src/OpenSimClient.cs | |
parent | Missed these 2 (diff) | |
download | opensim-SC-91c11314acbec75bfdfa878b69b02543629b2b17.zip opensim-SC-91c11314acbec75bfdfa878b69b02543629b2b17.tar.gz opensim-SC-91c11314acbec75bfdfa878b69b02543629b2b17.tar.bz2 opensim-SC-91c11314acbec75bfdfa878b69b02543629b2b17.tar.xz |
* Bind to IPAddress.Any instead of a hardcoded address
* Allow login if a connection can't be made to the grid auth server (instead of crashing)
* Brought the MSVC project file and solution up to speed
* Added a default VersionInfo.cs to allow compiling with MSVC
* Removed unnecessary .suo file
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; |