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

arthursv
Diva Canto 2009-08-10 11:48:30 -07:00
parent 43b7e67288
commit 34d0f119cb
1 changed files with 1 additions and 1 deletions

View File

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