From 5dda8d263e46424f20276d0d7a5cff762b427eff Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Mon, 30 May 2016 19:48:37 +0200 Subject: [PATCH] unneeded isnullorempty --- NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs b/NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs index 1735eda6..ff7cc814 100644 --- a/NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs +++ b/NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs @@ -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; }