aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/OpenSimClient.cs
diff options
context:
space:
mode:
authorjhurliman2007-03-02 08:36:57 +0000
committerjhurliman2007-03-02 08:36:57 +0000
commit91c11314acbec75bfdfa878b69b02543629b2b17 (patch)
treec0f56f7ea5c6bd98a15a65fcc1fb508523b982ec /src/OpenSimClient.cs
parentMissed these 2 (diff)
downloadopensim-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.cs2
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;