summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-05-17 14:31:38 +0200
committerTannin <devnull@localhost>2015-05-17 14:31:38 +0200
commit883f4d98947faf4dae10cbacf7b74d33a92a88dd (patch)
tree886954d6b9693d364992fc2643ced7fc05c80e96 /src
parentd3e904e9ad53337ac073c5d554b9f2fbc79320ab (diff)
bugfix: MO requested update information for mods without mod-id
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