summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modinforegular.h2
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