Update ApplicationHost.cs
This commit is contained in:
parent
107d606a70
commit
7b4b101eca
|
@ -1021,7 +1021,7 @@ namespace Emby.Server.Implementations
|
||||||
protected abstract void RestartInternal();
|
protected abstract void RestartInternal();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Comparison function used in <see cref="GetLatestDLLVersion" />.
|
/// Comparison function used in <see cref="GetPlugins" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="a">Item to compare.</param>
|
/// <param name="a">Item to compare.</param>
|
||||||
/// <param name="b">Item to compare with.</param>
|
/// <param name="b">Item to compare with.</param>
|
||||||
|
@ -1068,7 +1068,7 @@ namespace Emby.Server.Implementations
|
||||||
version = new Version(0, 0, 0, 1);
|
version = new Version(0, 0, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (targetAbi <= ApplicationVersion)
|
if (targetAbi >= ApplicationVersion)
|
||||||
{
|
{
|
||||||
// Only load Plugins for this version or below.
|
// Only load Plugins for this version or below.
|
||||||
versions.Add((version, manifest.Name, dir));
|
versions.Add((version, manifest.Name, dir));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user