summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index e50561b7..8c8d2baf 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -864,7 +864,7 @@ public:
/**
* @return true if the mod can be updated
*/
- virtual bool canBeUpdated() const { return m_NexusID >= 0; }
+ virtual bool canBeUpdated() const { return m_NexusID > 0; }
/**
* @return true if the mod can be enabled/disabled