aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserProfilesService/UserProfilesService.cs
diff options
context:
space:
mode:
authorDiva Canto2015-01-22 10:45:46 -0800
committerDiva Canto2015-01-22 10:45:46 -0800
commitedc155c6367bdc81303b56aee0c724ce7aeaa0d8 (patch)
tree33ddce1499ec22dab20935148cacc24f9dc2031c /OpenSim/Services/UserProfilesService/UserProfilesService.cs
parentOn the GridService, the central simulator features: ensure that the map tile ... (diff)
parentStop currently unsettable display names from appearing when [ClientStack.Lind... (diff)
downloadopensim-SC-edc155c6367bdc81303b56aee0c724ce7aeaa0d8.zip
opensim-SC-edc155c6367bdc81303b56aee0c724ce7aeaa0d8.tar.gz
opensim-SC-edc155c6367bdc81303b56aee0c724ce7aeaa0d8.tar.bz2
opensim-SC-edc155c6367bdc81303b56aee0c724ce7aeaa0d8.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Services/UserProfilesService/UserProfilesService.cs')
-rw-r--r--OpenSim/Services/UserProfilesService/UserProfilesService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/UserProfilesService/UserProfilesService.cs b/OpenSim/Services/UserProfilesService/UserProfilesService.cs
index 75101ff..96c13c0 100644
--- a/OpenSim/Services/UserProfilesService/UserProfilesService.cs
+++ b/OpenSim/Services/UserProfilesService/UserProfilesService.cs
@@ -196,6 +196,9 @@ namespace OpenSim.Services.ProfilesService
196 196
197 public bool UserPreferencesRequest(ref UserPreferences pref, ref string result) 197 public bool UserPreferencesRequest(ref UserPreferences pref, ref string result)
198 { 198 {
199 if (!ProfilesData.GetUserPreferences(ref pref, ref result))
200 return false;
201
199 if(string.IsNullOrEmpty(pref.EMail)) 202 if(string.IsNullOrEmpty(pref.EMail))
200 { 203 {
201 UserAccount account = new UserAccount(); 204 UserAccount account = new UserAccount();
@@ -228,9 +231,6 @@ namespace OpenSim.Services.ProfilesService
228 return false; 231 return false;
229 } 232 }
230 } 233 }
231 if (!ProfilesData.GetUserPreferences (ref pref, ref result))
232 return false;
233
234 234
235 if(string.IsNullOrEmpty(pref.EMail)) 235 if(string.IsNullOrEmpty(pref.EMail))
236 pref.EMail = "No Email Address On Record"; 236 pref.EMail = "No Email Address On Record";