From 88f92cbec689f653fed0a1c2f77a95486f91a980 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Tue, 17 Oct 2017 15:30:22 +0200 Subject: [PATCH] Fixed tag blacklisting for nsfw --- NadekoBot.Core/Modules/Searches/Services/SearchesService.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/NadekoBot.Core/Modules/Searches/Services/SearchesService.cs b/NadekoBot.Core/Modules/Searches/Services/SearchesService.cs index f16c9fa6..d982b720 100644 --- a/NadekoBot.Core/Modules/Searches/Services/SearchesService.cs +++ b/NadekoBot.Core/Modules/Searches/Services/SearchesService.cs @@ -215,12 +215,6 @@ namespace NadekoBot.Modules.Searches.Services { var blacklistedTags = GetBlacklistedTags(guild.Value); - if (blacklistedTags - .Any(x => tag.ToLowerInvariant().Contains(x))) - { - throw new TagBlacklistedException(); - } - var cacher = _imageCacher.GetOrAdd(guild.Value, (key) => new SearchImageCacher()); return cacher.GetImage(tag, isExplicit, type, blacklistedTags);