aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLUserData.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs
index c668d56..3a088cf 100644
--- a/OpenSim/Data/MySQL/MySQLUserData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserData.cs
@@ -582,6 +582,11 @@ namespace OpenSim.Data.MySQL
582 /// <param name="user">The user profile to create</param> 582 /// <param name="user">The user profile to create</param>
583 public override void AddNewUserProfile(UserProfileData user) 583 public override void AddNewUserProfile(UserProfileData user)
584 { 584 {
585 UUID zero = UUID.Zero;
586 if (user.ID == zero)
587 {
588 return;
589 }
585 MySQLSuperManager dbm = GetLockedConnection(); 590 MySQLSuperManager dbm = GetLockedConnection();
586 591
587 try 592 try