diff options
author | Melanie Thielker | 2016-12-12 11:09:38 +0000 |
---|---|---|
committer | Melanie Thielker | 2016-12-12 11:09:38 +0000 |
commit | 1388ac2ef7d774b4d25f18d237fdad89d7ac43ac (patch) | |
tree | faff13c589ed05167559ca20f53a51ecd5cc37d1 /OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs | |
parent | Only ask for the new parameter when starting from scratch. (diff) | |
download | opensim-SC-1388ac2ef7d774b4d25f18d237fdad89d7ac43ac.zip opensim-SC-1388ac2ef7d774b4d25f18d237fdad89d7ac43ac.tar.gz opensim-SC-1388ac2ef7d774b4d25f18d237fdad89d7ac43ac.tar.bz2 opensim-SC-1388ac2ef7d774b4d25f18d237fdad89d7ac43ac.tar.xz |
Rename charterMember to membershipType to show what it actually is.
This field started out as a simple flag in the protocol to indicate a
user being a SL charter member. It has since then taken on additional
functionality that means that the name is no longer appropriate.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs index 2bb24ae..0b1dbc7 100644 --- a/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs | |||
@@ -154,7 +154,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Profile | |||
154 | name = account.FirstName + " " + account.LastName; | 154 | name = account.FirstName + " " + account.LastName; |
155 | created = account.Created; | 155 | created = account.Created; |
156 | } | 156 | } |
157 | Byte[] charterMember = Utils.StringToBytes(name); | 157 | Byte[] membershipType = Utils.StringToBytes(name); |
158 | 158 | ||
159 | profileUrl = "No profile data"; | 159 | profileUrl = "No profile data"; |
160 | aboutText = string.Empty; | 160 | aboutText = string.Empty; |
@@ -166,7 +166,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Profile | |||
166 | remoteClient.SendAvatarProperties(avatarID, aboutText, | 166 | remoteClient.SendAvatarProperties(avatarID, aboutText, |
167 | Util.ToDateTime(created).ToString( | 167 | Util.ToDateTime(created).ToString( |
168 | "M/d/yyyy", CultureInfo.InvariantCulture), | 168 | "M/d/yyyy", CultureInfo.InvariantCulture), |
169 | charterMember, firstLifeAboutText, | 169 | membershipType, firstLifeAboutText, |
170 | (uint)(0 & 0xff), | 170 | (uint)(0 & 0xff), |
171 | firstLifeImage, image, profileUrl, partner); | 171 | firstLifeImage, image, profileUrl, partner); |
172 | 172 | ||