search accout by id not volatil user name (HG)

This commit is contained in:
UbitUmarov
2016-11-18 17:30:15 +00:00
parent b43f36abf1
commit 1396c466f6

View File

@@ -4141,7 +4141,8 @@ namespace OpenSim.Region.Framework.Scenes
{
IUserAccountCacheModule cache = RequestModuleInterface<IUserAccountCacheModule>();
if (cache != null)
cache.Remove(acd.firstname + " " + acd.lastname);
// cache.Remove(acd.firstname + " " + acd.lastname);
cache.Remove(acd.AgentID);
// Remove any preexisting circuit - we don't want duplicates
// This is a stab at preventing avatar "ghosting"