Look up a homeURL only when it's not null, in addition to not being string.Empty

iar_mods
Justin Clark-Casey (justincc) 2011-11-16 00:01:21 +00:00
parent 92dff85afb
commit 33b1e385ec
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
return userdata.ServerURLs[serverType].ToString();
}
if (userdata.HomeURL != string.Empty)
if (userData.HomeURL != null && userdata.HomeURL != string.Empty)
{
m_log.DebugFormat(
"[USER MANAGEMENT MODULE]: Did not find url type {0} so requesting urls from '{1}' for {2}",