diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-02-21 21:38:52 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-02-21 21:38:52 -0600 |
| commit | 5812ad3d46a9f20eec624a95b68b59fad113dd6f (patch) | |
| tree | 5d176c94e6e45e6fc294823cbdf4046d03d5297b /src | |
| parent | 8f0f41f08cbb97b52e9bb5696aa4599b8c779460 (diff) | |
Don't count updates as ignored when the ignored version is invalid
Diffstat (limited to 'src')
| -rw-r--r-- | src/modinforegular.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h index 7dc2fd6e..c1785818 100644 --- a/src/modinforegular.h +++ b/src/modinforegular.h @@ -44,7 +44,7 @@ public: /** * @return true if the current update is being ignored */ - virtual bool updateIgnored() const { return m_IgnoredVersion == m_NewestVersion; } + virtual bool updateIgnored() const { return m_IgnoredVersion.isValid() && m_IgnoredVersion == m_NewestVersion; } /** * @brief test if there is a newer version of the mod |
