summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/PluginUpdater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/PluginUpdater.cpp')
-rw-r--r--plugins/PluginUpdater/src/PluginUpdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp
index 7f41ba7208..d0678e91e5 100644
--- a/plugins/PluginUpdater/src/PluginUpdater.cpp
+++ b/plugins/PluginUpdater/src/PluginUpdater.cpp
@@ -140,7 +140,7 @@ extern "C" __declspec(dllexport) int Load(void)
SkinAddNewSoundEx("updatefailed", LPGEN("Plugin Updater"), LPGEN("Update failed"));
// Upgrade old settings
- if (!db_get_b(0, MODNAME, "UpdateMode", 0)) {
+ if (-1 == db_get_b(0, MODNAME, "UpdateMode", -1)) {
ptrA dbvUpdateURL(db_get_sa(0, MODNAME, "UpdateURL"));
if (dbvUpdateURL) {
if (!strcmp(dbvUpdateURL, DEFAULT_UPDATE_URL)) {