From fb1b4a711a074c4ae92f2822d2ef4e881b569232 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Sun, 7 Jun 2020 05:09:00 +0100 Subject: [PATCH] adds some tests to av lookup to exclude some bad values --- Core/bottypes/AVstorageBot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/bottypes/AVstorageBot.cs b/Core/bottypes/AVstorageBot.cs index 0f59282..0e832d4 100644 --- a/Core/bottypes/AVstorageBot.cs +++ b/Core/bottypes/AVstorageBot.cs @@ -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) {