From e063f0d592d07c1131c30893c93b01c4dd5e819a Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 27 Dec 2009 15:47:14 +0000 Subject: Encode the published and mature checkboxes into the user flags for profiles --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs') 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 UserProfile.FirstLifeImage = Properties.FLImageID; UserProfile.Image = Properties.ImageID; UserProfile.ProfileUrl = Utils.BytesToString(Properties.ProfileURL); + Userprofile.Flags &= ~3; + Userprofile.Flags |= Properties.AllowPublish ? 1 : 0; + Userprofile.Flags |= Properties.MaturePublish ? 2 : 0; handlerUpdateAvatarProperties(this, UserProfile); } -- cgit v1.1