~autohentai won't post no reuslts found anymore

This commit is contained in:
Kwoth 2017-01-08 14:53:14 +01:00
parent ca0a16d813
commit 3ad2b58ca1

View File

@ -49,7 +49,7 @@ namespace NadekoBot.Modules.NSFW
var link = await provider.ConfigureAwait(false); var link = await provider.ConfigureAwait(false);
if (string.IsNullOrWhiteSpace(link)) if (string.IsNullOrWhiteSpace(link))
{ {
if (noError) if (!noError)
await channel.SendErrorAsync("No results found.").ConfigureAwait(false); await channel.SendErrorAsync("No results found.").ConfigureAwait(false);
return; return;
} }