From 3ad2b58ca1a40f268455ab896407d22946491a79 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sun, 8 Jan 2017 14:53:14 +0100 Subject: [PATCH] ~autohentai won't post no reuslts found anymore --- src/NadekoBot/Modules/NSFW/NSFW.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/NSFW/NSFW.cs b/src/NadekoBot/Modules/NSFW/NSFW.cs index 7c692f0b..4db4c1b3 100644 --- a/src/NadekoBot/Modules/NSFW/NSFW.cs +++ b/src/NadekoBot/Modules/NSFW/NSFW.cs @@ -49,7 +49,7 @@ namespace NadekoBot.Modules.NSFW var link = await provider.ConfigureAwait(false); if (string.IsNullOrWhiteSpace(link)) { - if (noError) + if (!noError) await channel.SendErrorAsync("No results found.").ConfigureAwait(false); return; }