unneeded isnullorempty
This commit is contained in:
parent
55a056d96f
commit
5dda8d263e
@ -45,11 +45,7 @@ namespace NadekoBot.Modules.Searches.Commands.IMDB
|
|||||||
ImdbMovie mov = new ImdbMovie();
|
ImdbMovie mov = new ImdbMovie();
|
||||||
string imdbUrl = "http://www.imdb.com/title/" + imdbId + "/";
|
string imdbUrl = "http://www.imdb.com/title/" + imdbId + "/";
|
||||||
mov.Status = false;
|
mov.Status = false;
|
||||||
if (!string.IsNullOrEmpty(imdbUrl))
|
|
||||||
{
|
|
||||||
ParseIMDbPage(imdbUrl, GetExtraInfo, mov);
|
ParseIMDbPage(imdbUrl, GetExtraInfo, mov);
|
||||||
}
|
|
||||||
|
|
||||||
return mov;
|
return mov;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user