From 5812ad3d46a9f20eec624a95b68b59fad113dd6f Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Thu, 21 Feb 2019 21:38:52 -0600 Subject: Don't count updates as ignored when the ignored version is invalid --- src/modinforegular.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.3.1