diff options
author | gareth | 2007-04-14 12:48:38 +0000 |
---|---|---|
committer | gareth | 2007-04-14 12:48:38 +0000 |
commit | ba7aeb1479e2df2e376242bc8e22da5931c1354b (patch) | |
tree | ee5de07d15350565f70c3f9751a9ec9059457cac /OpenSim.Framework/UserProfileManagerBase.cs | |
parent | Fixed weird XML/HTTP bugs (diff) | |
download | opensim-SC_OLD-ba7aeb1479e2df2e376242bc8e22da5931c1354b.zip opensim-SC_OLD-ba7aeb1479e2df2e376242bc8e22da5931c1354b.tar.gz opensim-SC_OLD-ba7aeb1479e2df2e376242bc8e22da5931c1354b.tar.bz2 opensim-SC_OLD-ba7aeb1479e2df2e376242bc8e22da5931c1354b.tar.xz |
In the grid, there is life!
OGS now functional again, can login! w00t
Diffstat (limited to 'OpenSim.Framework/UserProfileManagerBase.cs')
-rw-r--r-- | OpenSim.Framework/UserProfileManagerBase.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim.Framework/UserProfileManagerBase.cs b/OpenSim.Framework/UserProfileManagerBase.cs index 4428831..c9fbf4c 100644 --- a/OpenSim.Framework/UserProfileManagerBase.cs +++ b/OpenSim.Framework/UserProfileManagerBase.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Framework.User | |||
52 | { | 52 | { |
53 | foreach (libsecondlife.LLUUID UUID in UserProfiles.Keys) | 53 | foreach (libsecondlife.LLUUID UUID in UserProfiles.Keys) |
54 | { | 54 | { |
55 | if ((UserProfiles[UUID].firstname == firstname) && (UserProfiles[UUID].lastname == lastname)) | 55 | if (UserProfiles[UUID].firstname.Equals(firstname)) if (UserProfiles[UUID].lastname.Equals(lastname)) |
56 | { | 56 | { |
57 | return UserProfiles[UUID]; | 57 | return UserProfiles[UUID]; |
58 | } | 58 | } |
@@ -73,7 +73,7 @@ namespace OpenSim.Framework.User | |||
73 | { | 73 | { |
74 | if (TheUser.MD5passwd == passwd) | 74 | if (TheUser.MD5passwd == passwd) |
75 | { | 75 | { |
76 | Console.WriteLine("UserProfile - authorised "); | 76 | Console.WriteLine("UserProfile - authorised " + firstname + " " + lastname); |
77 | return true; | 77 | return true; |
78 | } | 78 | } |
79 | else | 79 | else |
@@ -103,8 +103,7 @@ namespace OpenSim.Framework.User | |||
103 | newprofile.firstname = firstname; | 103 | newprofile.firstname = firstname; |
104 | newprofile.lastname = lastname; | 104 | newprofile.lastname = lastname; |
105 | newprofile.MD5passwd = MD5passwd; | 105 | newprofile.MD5passwd = MD5passwd; |
106 | newprofile.UUID = LLUUID.Random(); | 106 | newprofile.UUID = LLUUID.Random(); newprofile.Inventory.CreateRootFolder(newprofile.UUID, true); |
107 | newprofile.Inventory.CreateRootFolder(newprofile.UUID, true); | ||
108 | this.UserProfiles.Add(newprofile.UUID, newprofile); | 107 | this.UserProfiles.Add(newprofile.UUID, newprofile); |
109 | return newprofile; | 108 | return newprofile; |
110 | } | 109 | } |