unneeded isnullorempty

This commit is contained in:
Master Kwoth 2016-05-30 19:48:37 +02:00
parent 55a056d96f
commit 5dda8d263e

View File

@ -45,11 +45,7 @@ namespace NadekoBot.Modules.Searches.Commands.IMDB
ImdbMovie mov = new ImdbMovie();
string imdbUrl = "http://www.imdb.com/title/" + imdbId + "/";
mov.Status = false;
if (!string.IsNullOrEmpty(imdbUrl))
{
ParseIMDbPage(imdbUrl, GetExtraInfo, mov);
}
ParseIMDbPage(imdbUrl, GetExtraInfo, mov);
return mov;
}