Conditional to prevent a null ref in tests. The tests may still not pass.

This commit is contained in:
Diva Canto
2009-08-10 11:48:30 -07:00
parent 43b7e67288
commit 34d0f119cb

View File

@@ -698,7 +698,7 @@ namespace OpenSim.Framework.Communications
if (rootfolder != null)
userProf.RootInventoryFolderID = rootfolder.ID;
}
else
else if (m_commsManager.InterServiceInventoryService != null)
{
// used by the user server
m_log.Debug("[USERSTORAGE]: using m_commsManager.InterServiceInventoryService to create user's inventory");