adds some tests to av lookup to exclude some bad values

This commit is contained in:
Madpeter 2020-06-07 05:09:00 +01:00
parent 0f2aa1f903
commit fb1b4a711a

View file

@ -193,7 +193,7 @@ namespace BSB.bottypes
protected void AddAvatarToDB(UUID av_uuid,string av_name)
{
if ((av_name != "null") && (av_name != null))
if ((av_name != "null") && (av_name != null) && (av_name.ToLowerInvariant() != "secondlife") && (av_uuid != UUID.Zero))
{
if (AvatarStorageLastUsed.ContainsKey(av_name) == false)
{