diff options
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs b/OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs index adc12aa..01d6ec8 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs | |||
@@ -651,7 +651,8 @@ namespace OpenSim.Region.Communications.OGS1 | |||
651 | UserProfileData userData = new UserProfileData(); | 651 | UserProfileData userData = new UserProfileData(); |
652 | userData.FirstName = (string)data["firstname"]; | 652 | userData.FirstName = (string)data["firstname"]; |
653 | userData.SurName = (string)data["lastname"]; | 653 | userData.SurName = (string)data["lastname"]; |
654 | userData.Email = (string)data["email"]; | 654 | if (data["email"] != null) |
655 | userData.Email = (string)data["email"]; | ||
655 | userData.ID = new UUID((string)data["uuid"]); | 656 | userData.ID = new UUID((string)data["uuid"]); |
656 | userData.Created = Convert.ToInt32(data["profile_created"]); | 657 | userData.Created = Convert.ToInt32(data["profile_created"]); |
657 | userData.UserInventoryURI = (string)data["server_inventory"]; | 658 | userData.UserInventoryURI = (string)data["server_inventory"]; |