search accout by id not volatil user name (HG)

melanie
UbitUmarov 2016-11-18 17:30:15 +00:00
parent b43f36abf1
commit 1396c466f6
1 changed files with 2 additions and 1 deletions

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"