aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Services/LoginService.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Services/LoginService.cs b/OpenSim/Framework/Communications/Services/LoginService.cs
index 8a8108b..cac6616 100644
--- a/OpenSim/Framework/Communications/Services/LoginService.cs
+++ b/OpenSim/Framework/Communications/Services/LoginService.cs
@@ -1131,7 +1131,18 @@ namespace OpenSim.Framework.Communications.Services
1131 // tools are creating the user profile directly in the database without creating the inventory. At 1131 // tools are creating the user profile directly in the database without creating the inventory. At
1132 // this time we'll accomodate them by lazily creating the user inventory now if it doesn't already 1132 // this time we'll accomodate them by lazily creating the user inventory now if it doesn't already
1133 // exist. 1133 // exist.
1134 if ((m_interInventoryService != null) && !m_interInventoryService.CreateNewUserInventory(userID)) 1134 if (m_interInventoryService != null)
1135 {
1136 if (!m_interInventoryService.CreateNewUserInventory(userID))
1137 {
1138 throw new Exception(
1139 String.Format(
1140 "The inventory creation request for user {0} did not succeed."
1141 + " Please contact your inventory service provider for more information.",
1142 userID));
1143 }
1144 }
1145 else if ((m_InventoryService != null) && !m_InventoryService.CreateUserInventory(userID))
1135 { 1146 {
1136 throw new Exception( 1147 throw new Exception(
1137 String.Format( 1148 String.Format(
@@ -1140,6 +1151,7 @@ namespace OpenSim.Framework.Communications.Services
1140 userID)); 1151 userID));
1141 } 1152 }
1142 1153
1154
1143 m_log.InfoFormat("[LOGIN]: A new inventory skeleton was successfully created for user {0}", userID); 1155 m_log.InfoFormat("[LOGIN]: A new inventory skeleton was successfully created for user {0}", userID);
1144 1156
1145 if (m_InventoryService != null) 1157 if (m_InventoryService != null)