diff options
author | Jeff Ames | 2008-02-13 03:38:18 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-13 03:38:18 +0000 |
commit | 001ce95e4c4bf4f0929c2ced4ab22e3bc40fd1d6 (patch) | |
tree | 35f528caf55171c0c53cd81501ebaa22f31e0d2a /OpenSim/Framework/Communications/LoginService.cs | |
parent | * Clean up LIBRARY INVENTORY messages (diff) | |
download | opensim-SC_OLD-001ce95e4c4bf4f0929c2ced4ab22e3bc40fd1d6.zip opensim-SC_OLD-001ce95e4c4bf4f0929c2ced4ab22e3bc40fd1d6.tar.gz opensim-SC_OLD-001ce95e4c4bf4f0929c2ced4ab22e3bc40fd1d6.tar.bz2 opensim-SC_OLD-001ce95e4c4bf4f0929c2ced4ab22e3bc40fd1d6.tar.xz |
Clean up more unnecessary String.Format calls
Diffstat (limited to 'OpenSim/Framework/Communications/LoginService.cs')
-rw-r--r-- | OpenSim/Framework/Communications/LoginService.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index db86a97..e14eccf 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs | |||
@@ -601,8 +601,7 @@ namespace OpenSim.Framework.UserManagement | |||
601 | public virtual bool AuthenticateUser(UserProfileData profile, string password) | 601 | public virtual bool AuthenticateUser(UserProfileData profile, string password) |
602 | { | 602 | { |
603 | bool passwordSuccess = false; | 603 | bool passwordSuccess = false; |
604 | m_log.Info( | 604 | m_log.InfoFormat("[LOGIN]: Authenticating {0} {1} ({2})", profile.username, profile.surname, profile.UUID); |
605 | String.Format("[LOGIN]: Authenticating {0} {1} ({2})", profile.username, profile.surname, profile.UUID)); | ||
606 | 605 | ||
607 | // Web Login method seems to also occasionally send the hashed password itself | 606 | // Web Login method seems to also occasionally send the hashed password itself |
608 | 607 | ||
@@ -627,8 +626,7 @@ namespace OpenSim.Framework.UserManagement | |||
627 | public virtual bool AuthenticateUser(UserProfileData profile, LLUUID webloginkey) | 626 | public virtual bool AuthenticateUser(UserProfileData profile, LLUUID webloginkey) |
628 | { | 627 | { |
629 | bool passwordSuccess = false; | 628 | bool passwordSuccess = false; |
630 | m_log.Info( | 629 | m_log.InfoFormat("[LOGIN]: Authenticating {0} {1} ({2})", profile.username, profile.surname, profile.UUID); |
631 | String.Format("[LOGIN]: Authenticating {0} {1} ({2})", profile.username, profile.surname, profile.UUID)); | ||
632 | 630 | ||
633 | // Match web login key unless it's the default weblogin key LLUUID.Zero | 631 | // Match web login key unless it's the default weblogin key LLUUID.Zero |
634 | passwordSuccess = ((profile.webLoginKey==webloginkey) && profile.webLoginKey != LLUUID.Zero); | 632 | passwordSuccess = ((profile.webLoginKey==webloginkey) && profile.webLoginKey != LLUUID.Zero); |