diff --git a/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross b/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross index 2b0ffb3..c5fd327 100644 --- a/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross +++ b/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross @@ -812,7 +812,7 @@ class TYTD.Downloader { env.LoadFileWithDependencies(subdir, _exec); _pkg.pluginObject = d.PluginInit(); - if(_pkg.pluginObject.Server != null && _pkg.pluginObject.Server != undefined) + if(TypeIsDefined(_pkg.pluginObject.Server)) { var path = /"plugin"/_pkg.pluginName;