diff --git a/src/NadekoBot/Modules/Searches/Commands/OMDB/OmdbProvider.cs b/src/NadekoBot/Modules/Searches/Commands/OMDB/OmdbProvider.cs index 892f8fab..a3d56fcf 100644 --- a/src/NadekoBot/Modules/Searches/Commands/OMDB/OmdbProvider.cs +++ b/src/NadekoBot/Modules/Searches/Commands/OMDB/OmdbProvider.cs @@ -18,7 +18,8 @@ namespace NadekoBot.Modules.Searches.Commands.OMDB { var res = await http.GetStringAsync(String.Format(queryUrl,name.Trim().Replace(' ','+'))).ConfigureAwait(false); var movie = JsonConvert.DeserializeObject(res); - + if (movie?.Title == null) + return null; movie.Poster = await NadekoBot.Google.ShortenUrl(movie.Poster); return movie; }