aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-27 21:50:19 +0000
committerTeravus Ovares2008-12-27 21:50:19 +0000
commite9411a4c59113cfb41a6f73b0978652229690424 (patch)
tree7a34ba51e6f1ae4a7fafd07f9ede2bbe3af7d30e
parent* Fixes mantis #2922 (diff)
downloadopensim-SC_OLD-e9411a4c59113cfb41a6f73b0978652229690424.zip
opensim-SC_OLD-e9411a4c59113cfb41a6f73b0978652229690424.tar.gz
opensim-SC_OLD-e9411a4c59113cfb41a6f73b0978652229690424.tar.bz2
opensim-SC_OLD-e9411a4c59113cfb41a6f73b0978652229690424.tar.xz
* Eliminate a possible null reference from the LLSDLogin method.
-rw-r--r--OpenSim/Framework/Communications/LoginService.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index 24e9ca9..3f53c2f 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -379,7 +379,11 @@ namespace OpenSim.Framework.Communications
379 return logResponse.CreateLoginFailedResponseLLSD(); 379 return logResponse.CreateLoginFailedResponseLLSD();
380 } 380 }
381 } 381 }
382 else
383 return logResponse.CreateLoginFailedResponseLLSD();
382 } 384 }
385 else
386 return logResponse.CreateLoginFailedResponseLLSD();
383 387
384 388
385 if (userProfile.GodLevel < m_minLoginLevel) 389 if (userProfile.GodLevel < m_minLoginLevel)