aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2009-12-27 15:47:14 +0000
committerMelanie2009-12-27 15:47:14 +0000
commite063f0d592d07c1131c30893c93b01c4dd5e819a (patch)
tree4a4190d305eefdcc3be4ba3cec5180c9bdda058a /OpenSim
parent* Adding Google.ProtocolBuffers.dll dependency (BSD licensed) (diff)
downloadopensim-SC-e063f0d592d07c1131c30893c93b01c4dd5e819a.zip
opensim-SC-e063f0d592d07c1131c30893c93b01c4dd5e819a.tar.gz
opensim-SC-e063f0d592d07c1131c30893c93b01c4dd5e819a.tar.bz2
opensim-SC-e063f0d592d07c1131c30893c93b01c4dd5e819a.tar.xz
Encode the published and mature checkboxes into the user flags for
profiles
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index f6c505a..096d5e1 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -4857,6 +4857,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4857 UserProfile.FirstLifeImage = Properties.FLImageID; 4857 UserProfile.FirstLifeImage = Properties.FLImageID;
4858 UserProfile.Image = Properties.ImageID; 4858 UserProfile.Image = Properties.ImageID;
4859 UserProfile.ProfileUrl = Utils.BytesToString(Properties.ProfileURL); 4859 UserProfile.ProfileUrl = Utils.BytesToString(Properties.ProfileURL);
4860 Userprofile.Flags &= ~3;
4861 Userprofile.Flags |= Properties.AllowPublish ? 1 : 0;
4862 Userprofile.Flags |= Properties.MaturePublish ? 2 : 0;
4860 4863
4861 handlerUpdateAvatarProperties(this, UserProfile); 4864 handlerUpdateAvatarProperties(this, UserProfile);
4862 } 4865 }